diff --git a/README.md b/README.md index a7a5cb2..0ccf4fd 100644 --- a/README.md +++ b/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 diff --git a/android/build.gradle b/android/build.gradle index f1c3f77..8177235 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -29,9 +29,6 @@ android { targetSdkVersion safeExtGet('targetSdkVersion', 28) versionCode 1 versionName "1.0" - - renderscriptTargetApi 23 - renderscriptSupportModeEnabled true } lintOptions { abortOnError false diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 36fd9ee..84af0ac 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -107,8 +107,6 @@ android { targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 versionName "1.0" - renderscriptTargetApi 23 - renderscriptSupportModeEnabled true } splits { abi {