mirror of
https://github.com/status-im/react-native-blur.git
synced 2025-02-10 23:46:31 +00:00
Merge pull request #165 from bilby91/patch-1
Fix android installation docs
This commit is contained in:
commit
9629416b4b
23
README.md
23
README.md
@ -26,20 +26,23 @@ Check the [roadmap here](https://github.com/Kureev/react-native-blur/issues/1)
|
|||||||
react-native link react-native-blur
|
react-native link react-native-blur
|
||||||
```
|
```
|
||||||
3. (Android only) Add the following to your `android/app/build.gradle`
|
3. (Android only) Add the following to your `android/app/build.gradle`
|
||||||
```
|
|
||||||
repositories {
|
|
||||||
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
|
|
||||||
}
|
|
||||||
|
|
||||||
buildscript {
|
`android/build.gradle`
|
||||||
|
```
|
||||||
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
|
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
|
||||||
}
|
}
|
||||||
dependencies {
|
}
|
||||||
classpath 'com.fivehundredpx:blurringview:1.0.0'
|
```
|
||||||
}
|
|
||||||
}
|
`android/app/build.gradle`
|
||||||
```
|
```
|
||||||
|
dependencies {
|
||||||
|
compile 'com.fivehundredpx:blurringview:1.0.0'
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
4. Inside your code include JS part by adding
|
4. Inside your code include JS part by adding
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
Loading…
x
Reference in New Issue
Block a user