Browse Source

Update Readme with Cocoapods installation info

Jim Hildensperger 7 years ago
parent
commit
c70bcc2579
No account linked to committer's email address
1 changed files with 8 additions and 4 deletions
  1. 8
    4
      README.md

+ 8
- 4
README.md View File

@@ -187,14 +187,18 @@ npm install --save react-native-permissions
187 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 197
 * Run open node_modules/react-native-permissions
194 198
 * Drag ReactNativePermissions.xcodeproj into the Libraries group of your app's Xcode project
195 199
 * Add libReactNativePermissions.a to `Build Phases -> Link Binary With Libraries.
196 200
 
197
-#### Android
201
+### Android
198 202
   No additional linking required
199 203
 
200 204
 ## AppStore submission disclaimer