Skip to content

Commit 5e5fc2f

Browse files
committed
Remove RenderScript Support Library remains
Since 7dc337a, we use the native (android.renderscript) APIs anyway. See also https://developer.android.com/guide/topics/renderscript/compute#access-rs-apis.
1 parent dc00052 commit 5e5fc2f

File tree

3 files changed

+3
-24
lines changed

3 files changed

+3
-24
lines changed

README.md

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,7 @@ cd ios
4141
pod install
4242
```
4343

44-
4. (Android only) Add the following to `android/app/build.gradle`
45-
46-
```
47-
android {
48-
// make sure to use 23.0.3 or greater
49-
buildToolsVersion '23.0.3'
50-
51-
// ...
52-
defaultConfig {
53-
// Add these lines below the existing config
54-
renderscriptTargetApi 23
55-
renderscriptSupportModeEnabled true
56-
}
57-
}
58-
```
59-
60-
5. (Android only, optional)
44+
4. (Android only, optional)
6145
If you've defined _[project-wide properties](https://developer.android.com/studio/build/gradle-tips.html)_ (**recommended**) in your root `build.gradle`, this library will detect the presence of the following properties:
6246

6347
```groovy
@@ -74,13 +58,13 @@ ext {
7458
}
7559
```
7660

77-
6. Include the library in your code:
61+
5. Include the library in your code:
7862

7963
```javascript
8064
import { BlurView, VibrancyView } from "@react-native-community/blur";
8165
```
8266

83-
7. Compile and have fun!
67+
6. Compile and have fun!
8468

8569
### BlurView
8670

android/build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ android {
2424
targetSdkVersion safeExtGet('targetSdkVersion', 22)
2525
versionCode 1
2626
versionName "1.0"
27-
28-
renderscriptTargetApi 23
29-
renderscriptSupportModeEnabled true
3027
}
3128
lintOptions {
3229
abortOnError false

example/android/app/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@ android {
107107
targetSdkVersion rootProject.ext.targetSdkVersion
108108
versionCode 1
109109
versionName "1.0"
110-
renderscriptTargetApi 23
111-
renderscriptSupportModeEnabled true
112110
}
113111
splits {
114112
abi {

0 commit comments

Comments
 (0)