react-native-background-geolocation icon indicating copy to clipboard operation
react-native-background-geolocation copied to clipboard

Use only while app is opened without background location permissions

Open gdogaru opened this issue 3 years ago • 0 comments

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

  1. 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?

  2. 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).

gdogaru avatar Aug 22 '22 18:08 gdogaru