Files
react-native/Libraries
Aditya Koukuntla 3ca33320bd Enable background updates when NSLocationWhenInUseUsageDescription is set (#20911)
Summary:
Location updates are not working in background when user allows **When in use authorization**, but works when user allows **Always allow**.

In Geolocation/RCTLocationObserver.m, setAllowsBackgroundLocationUpdates are set only for **Always allow** case, but native iOS allows us to setAllowsBackgroundLocationUpdates even for **When in use authorization**.

Solution:
setAllowsBackgroundLocationUpdates is now set for both cases.

[iOS] [Fixed] RCTLocationObserver - Enable background location updates when NSLocationWhenInUseUsageDescription is set
Pull Request resolved: https://github.com/facebook/react-native/pull/20911

Differential Revision: D13891852

Pulled By: cpojer

fbshipit-source-id: 5aae8dc12a147e7bed688807f34466b0f5a69344
2019-02-15 08:13:05 -08:00
..
2019-02-04 17:46:56 -08:00
2018-12-11 20:01:00 -08:00
2019-02-01 09:35:42 -08:00
2019-01-17 02:41:59 -08:00
2019-01-28 03:57:42 -08:00
2019-02-11 16:50:40 -08:00
2018-10-31 01:37:26 -07:00
2019-02-04 17:46:56 -08:00
2019-02-15 07:18:30 -08:00
2018-09-27 14:18:31 -07:00
2019-02-11 09:06:43 -08:00
2019-02-14 05:41:53 -08:00
2018-11-26 06:28:24 -08:00