mirror of
https://github.com/status-im/react-native-blur.git
synced 2025-02-05 05:03:23 +00:00
Update Android instructions
This commit is contained in:
parent
36c128f3d7
commit
15b740fa1d
34
README.md
34
README.md
@ -27,32 +27,18 @@ Check the [roadmap here](https://github.com/Kureev/react-native-blur/issues/1)
|
||||
```
|
||||
3. (Android only) Add the following to your `android/app/build.gradle`
|
||||
```
|
||||
android {
|
||||
...
|
||||
defaultConfig {
|
||||
...
|
||||
renderscriptTargetApi 20
|
||||
renderscriptSupportModeEnabled true
|
||||
}
|
||||
}
|
||||
repositories {
|
||||
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
...
|
||||
compile project(':react-native-blur')
|
||||
}
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.fivehundredpx:blurringview:1.0.0'
|
||||
}
|
||||
buildscript {
|
||||
repositories {
|
||||
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.fivehundredpx:blurringview:1.0.0'
|
||||
}
|
||||
}
|
||||
```
|
||||
4. Inside your code include JS part by adding
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user