Merge pull request #360 from kontist/renderscript-support-library-remains
Remove RenderScript Support Library remains
This commit is contained in:
commit
9b5ffd1496
22
README.md
22
README.md
|
@ -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
|
||||
|
||||
|
|
|
@ -29,9 +29,6 @@ android {
|
|||
targetSdkVersion safeExtGet('targetSdkVersion', 28)
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
||||
renderscriptTargetApi 23
|
||||
renderscriptSupportModeEnabled true
|
||||
}
|
||||
lintOptions {
|
||||
abortOnError false
|
||||
|
|
|
@ -107,8 +107,6 @@ android {
|
|||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
renderscriptTargetApi 23
|
||||
renderscriptSupportModeEnabled true
|
||||
}
|
||||
splits {
|
||||
abi {
|
||||
|
|
Loading…
Reference in New Issue