From 2b3b7bc452e7c550ab1859c7ba87a08e54d97565 Mon Sep 17 00:00:00 2001 From: Drew Pomerleau Date: Thu, 12 Apr 2018 19:44:41 -0400 Subject: [PATCH] Update geolocation.md (#299) Include note about needing the RCTGeolocation pod for geolocation features for iOS --- docs/geolocation.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/geolocation.md b/docs/geolocation.md index 1b67ca20a9ec18..4643fa0e9fd22a 100644 --- a/docs/geolocation.md +++ b/docs/geolocation.md @@ -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`: