Zdeněk Devátý

Results 3 comments of Zdeněk Devátý

On which version of Android are you testing? You have to get this permission from app settings since Android 11. See [the docs](https://developer.android.com/training/location/permissions#background-dialog-target-sdk-version)

Try this: ``` permissions.requestPermission(permissions.ACCESS_BACKGROUND_LOCATION, success, error); function error() { console.warn('ACCESS_BACKGROUND_LOCATION permission is not turned on'); } function success( status ) { if( !status.hasPermission ) error(); } ```

Maybe this permission is rejected permanently in Android settings somehow? I don't know and I can't help you, as I changed my career so I won't have to deal with...