Skip to content

Commit

Permalink
Update geolocation.md (#299)
Browse files Browse the repository at this point in the history
Include note about needing the RCTGeolocation pod for geolocation features for iOS
  • Loading branch information
Drewpom authored and charpeni committed Apr 12, 2018
1 parent f41d086 commit 2b3b7bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/geolocation.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ You need to include the `NSLocationWhenInUseUsageDescription` key in Info.plist

In order to enable geolocation in the background, you need to include the 'NSLocationAlwaysUsageDescription' key in Info.plist and add location as a background mode in the 'Capabilities' tab in Xcode.

If you are using CocoaPods for React Native, make sure to include the `RCTGeolocation` sub-podspec.

#### Android

To request access to location, you need to add the following line to your app's `AndroidManifest.xml`:
Expand Down

0 comments on commit 2b3b7bc

Please sign in to comment.