Client permission - "Allow all the time" - Disable message

Josh4 months ago

Permission are granted via our Knox management system but the user on first time use is still getting "to continuously collect location data please enable "Allow all the time" permissions" however the permissions have already been granted. Is there somewhere in the source code where this can be disabled.

Anton Tananaev4 months ago

It should be possible to check using something like this:

ActivityCompat.checkSelfPermission(context, permission.ACCESS_BACKGROUND_LOCATION)