Merge pull request #165 from bilby91/patch-1

Fix android installation docs
This commit is contained in:
Alexey 2017-03-31 21:30:53 +02:00 committed by GitHub
commit 9629416b4b

View File

@ -26,20 +26,23 @@ Check the [roadmap here](https://github.com/Kureev/react-native-blur/issues/1)
react-native link react-native-blur
```
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 {
repositories {
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
}
dependencies {
classpath 'com.fivehundredpx:blurringview:1.0.0'
}
}
`android/build.gradle`
```
allprojects {
repositories {
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
}
}
```
`android/app/build.gradle`
```
dependencies {
compile 'com.fivehundredpx:blurringview:1.0.0'
}
```
4. Inside your code include JS part by adding
```javascript