ab898ddda7
Summary: Set the flag 'allowsBackgroundLocationUpdates' to YES if the location background mode is enabled and the 'Always Allow Location' key is set in the App Plist. **motivation** We found that on iOS 9.x, the allowsBackgroundLocationUpdates flag must be set on location manager in order to receive updates when the app is in the background (seems to affect actual device only). **Test plan (required)** Example app using the forked branch [here](https://github.com/briancalvium/react-native-geolocation-pr-example). Run this example through XCode on a device with 9.x, observe that location update logs continue to appear when the app is in the background. Switch to react native 0.32.0, observe that location update logs stop once the app is in the background. Closes https://github.com/facebook/react-native/pull/9717 Differential Revision: D4167685 Pulled By: hramos fbshipit-source-id: 5a62f8433bf8b553561a276fdaa544363298442a |
||
---|---|---|
.. | ||
RCTGeolocation.xcodeproj | ||
Geolocation.js | ||
RCTLocationObserver.h | ||
RCTLocationObserver.m |