react-native-background-geolocation
react-native-background-geolocation copied to clipboard
Use only while app is opened without background location permissions
Your Environment
- Plugin version: latest
- Platform: tested on Android, but applies to both
- OS version: any
- Device manufacturer / model: any
- React Native version (
react-native -v): latest
Context
-
Is it possible to use this plugin only while the app is opened, with "Allow only while using the app" location permission, and turn it off, automatically or manually, when the app is closed?
-
Our design team also wants to use our own styled dialogs instead of standard alerts, so, is it possible to disable all permission & rationale dialogs from the plugin? I saw that I can disable the activity one, but regardless what I tried, I still got the background location rationale & redirect to settings automatically (when only while using the app location).