-
Notifications
You must be signed in to change notification settings - Fork 440
Description
Required Reading
- Confirmed
Plugin Version
4.18.6
Mobile operating-system(s)
- iOS
- Android
Device Manufacturer(s) and Model(s)
Google Pixel 4 XL
Device operating-systems(s)
Android 15
React Native / Expo version
React Native 0.77.0
What do you require assistance about?
I have more of a general question to which I could not find an answer in the documentation. A user started receiving LocationError 1 ("Location permission denied") when using getCurrentPosition with no change to the app itself. A log of the providerState (returned from BackgroundGeolocation.getProviderState()) in the error handler captured the following:
{"status":3,"accuracyAuthorization":0,"airplane":false,"gps":true,"enabled":true,"network":false}My working theory is that LocationError code 1 is thrown because the network location provider is disabled. My question is, how does this state occur? I'm not able to reproduce having the network location provider disabled while location services is simultaneously enabled, like I cannot find a combination of settings in Android 15 which lead to that state. Do you have any insight into it?