It looks like the function converting between the js dictionary and the RNCGeolocationConfiguration struct does not set enableBackgroundLocationUpdates:
I notice this because enableBackgroundLocationUpdates is never called with skipPermissionRequests set to true because _locationConfiguration.enableBackgroundLocationUpdates is always set to false
Platforms
iOS
Versions
Description
It looks like the function converting between the js dictionary and the
RNCGeolocationConfiguration
struct does not setenableBackgroundLocationUpdates
:https://github.com/michalchudziak/react-native-geolocation/blob/7bd62fd3cc2898a11d9ded1ad7840d849b8a5a82/ios/RNCGeolocation.mm#L61-L69
I notice this because
enableBackgroundLocationUpdates
is never called withskipPermissionRequests
set to true because_locationConfiguration.enableBackgroundLocationUpdates
is always set to falsehttps://github.com/michalchudziak/react-native-geolocation/blob/7bd62fd3cc2898a11d9ded1ad7840d849b8a5a82/ios/RNCGeolocation.mm#L176-L180