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
 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