浏览代码

Merge pull request #187 from jhildensperger/patch-1

Update Readme with Cocoapods installation info
Mathieu Acthernoene 7 年前
父节点
当前提交
c3b422bc80
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 8 次插入4 次删除
  1. 8
    4
      README.md

+ 8
- 4
README.md 查看文件

187
 react-native link
187
 react-native link
188
 ````
188
 ````
189
 
189
 
190
-### Or manually linking
191
-
192
-#### iOS
190
+### iOS
191
+#### CocoaPods
192
+Update the following line with your path to `node_modules/` and add it to your podfile
193
+```ruby
194
+pod 'ReactNativePermissions', :path => 'your/path/to/node_modules/react-native-permissions'
195
+```
196
+#### Or manually linking
193
 * Run open node_modules/react-native-permissions
197
 * Run open node_modules/react-native-permissions
194
 * Drag ReactNativePermissions.xcodeproj into the Libraries group of your app's Xcode project
198
 * Drag ReactNativePermissions.xcodeproj into the Libraries group of your app's Xcode project
195
 * Add libReactNativePermissions.a to `Build Phases -> Link Binary With Libraries.
199
 * Add libReactNativePermissions.a to `Build Phases -> Link Binary With Libraries.
196
 
200
 
197
-#### Android
201
+### Android
198
   No additional linking required
202
   No additional linking required
199
 
203
 
200
 ## AppStore submission disclaimer
204
 ## AppStore submission disclaimer