You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.
ACCESS_FINE_LOCATION is determined as permanently denied immediately after first permission dialog. This is incorrect because app can request location permissions again (next time system asks user to upgrade from approximate to precise location).
With Android 12 location permissions and EasyPermissions lib 3.0.0 I could not find a reliable way to determine when to show AppSettingsDialog (i.e. when permission is actually permanently denied and system returns result without displaying a dialog).
Code and logs
I can add later if needed.
The text was updated successfully, but these errors were encountered:
Basic Information
Device type: emulator
OS version: Android 12
EasyPermissions version: 3.0.0
Describe the problem
ACCESS_COARSE_LOCATION
andACCESS_FINE_LOCATION
-- As instructed in https://developer.android.com/training/location/permissions#approximate-request
ACCESS_FINE_LOCATION
as denied permissionEasyPermissions.permissionPermanentlyDenied(ACCESS_FINE_LOCATION)
returnstrue
What happened? What did you expect to happen?
ACCESS_FINE_LOCATION
is determined as permanently denied immediately after first permission dialog. This is incorrect because app can request location permissions again (next time system asks user to upgrade from approximate to precise location).With Android 12 location permissions and EasyPermissions lib 3.0.0 I could not find a reliable way to determine when to show AppSettingsDialog (i.e. when permission is actually permanently denied and system returns result without displaying a dialog).
Code and logs
I can add later if needed.
The text was updated successfully, but these errors were encountered: