react-native-background-geolocation
react-native-background-geolocation copied to clipboard
[Documentation] AUTHORIZATION_STATUS_WHEN_IN_USE applies to Android too
Your Environment
- Plugin version: 4.1.1
- Platform: Android
- OS version: Android 11
- Device manufacturer / model: Moto One 5G
- React Native version (
react-native -v): 0.63.4 - Plugin config: Not relevant
Expected Behavior
The documentation page https://transistorsoft.github.io/react-native-background-geolocation/interfaces/providerchangeevent.html should state that AUTHORIZATION_STATUS_WHEN_IN_USE applies to both iOS and Android.
Android 11 (and perhaps earlier versions) allows the user to enable location access only while the app is in use. I've found the ProviderChangeEvent correctly returns AUTHORIZATION_STATUS_WHEN_IN_USE in this case.
Actual Behavior
The documentation page shows AUTHORIZATION_STATUS_WHEN_IN_USE as iOS only.
Steps to Reproduce
N/A
Context
N/A
Debug logs
N/A
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open.
Commenting to keep issue open, still seems to be an issue.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open.