Update installation instructions

This commit is contained in:
Dmitry Gladkov
2016-12-26 18:30:03 +02:00
parent 32d93b1e23
commit 11d8fcd9ce
+4 -5
View File
@@ -7,20 +7,18 @@ Version 1.5.0 supports react-native >= 0.19.0
## Add it to your project
You can use [`rnpm`](https://github.com/rnpm/rnpm) to add native dependencies automatically:
You can use try linking the project automatically:
`$ rnpm link`
`$ react-native link`
or do it manually as described below:
### iOS
- Run `npm install react-native-linear-gradient --save`
Then either:
#####Cocoapods
add the following line to your Podfile:
@@ -30,6 +28,7 @@ pod 'BVLinearGradient', :path => '../node_modules/react-native-linear-gradient'
```
or:
#####Manually
1. Open your project in XCode, right click on `Libraries` and click `Add