Remove RenderScript Support Library remains

Since 7dc337ab1b, we use the native (android.renderscript) APIs anyway. See also https://developer.android.com/guide/topics/renderscript/compute#access-rs-apis.
This commit is contained in:
Jakob Krigovsky 2019-12-27 09:41:00 +01:00
parent dc00052b41
commit 5e5fc2f30d
3 changed files with 3 additions and 24 deletions

View File

@ -41,23 +41,7 @@ cd ios
pod install
```
4. (Android only) Add the following to `android/app/build.gradle`
```
android {
// make sure to use 23.0.3 or greater
buildToolsVersion '23.0.3'
// ...
defaultConfig {
// Add these lines below the existing config
renderscriptTargetApi 23
renderscriptSupportModeEnabled true
}
}
```
5. (Android only, optional)
4. (Android only, optional)
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:
```groovy
@ -74,13 +58,13 @@ ext {
}
```
6. Include the library in your code:
5. Include the library in your code:
```javascript
import { BlurView, VibrancyView } from "@react-native-community/blur";
```
7. Compile and have fun!
6. Compile and have fun!
### BlurView

View File

@ -24,9 +24,6 @@ android {
targetSdkVersion safeExtGet('targetSdkVersion', 22)
versionCode 1
versionName "1.0"
renderscriptTargetApi 23
renderscriptSupportModeEnabled true
}
lintOptions {
abortOnError false

View File

@ -107,8 +107,6 @@ android {
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
renderscriptTargetApi 23
renderscriptSupportModeEnabled true
}
splits {
abi {