transistorsoft / cordova-background-geolocation-lt

The most sophisticated background location-tracking & geofencing module with battery-conscious motion-detection intelligence for iOS and Android.
http://www.transistorsoft.com/shop/products/cordova-background-geolocation
Other
656 stars 277 forks source link

backgroundPermissionRationale dialog not displayed first #1397

Closed codesrousseau closed 1 year ago

codesrousseau commented 1 year ago

Your Environment

Expected Behavior

At application startup, the dialog corresponding to backgroundPermissionRationale should appear before requesting system localisation dialog box

Actual Behavior

first the system location permission dialog appear , the activity one then the backgroundPermissionRationale dialog. Screenshot_20230505-141753 Screenshot_20230505-141801 Screenshot_20230505-141807

Steps to Reproduce

1. 2. 3. 4.

Context

Debug logs

Logs ``` PASTE_YOUR_LOGS_HERE ```
christocracy commented 1 year ago

This is exactly what is supposed to happen. BackgroundPermissionRationale != “Prominent Permission Disclosure”.

you are responsible for producing your own “prominent disclosure” using a simple dialog of your own design, before you tell the plug-in to .start() (it is calling .start() which causes the plug-in to initiate permission requests).

BackgroundGeolocation has nothing at all to do with “prominent disclosure”.

see my blog: https://transistorsoft.medium.com/new-google-play-console-guidelines-for-sensitive-app-permissions-d9d2f4911353