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
Since Android 12 it is possible to decide whether to grant an app precise location or just approximate location.
As default, android always asks whether to grant precise or approximate location when requesting fine location.
Since we only ask for precise location (i.e. ACCESS_FINE_LOCATION, we get denied if the user only grants approximate location.
Instead of this, we should be okay with ACCESS_COARSE_LOCATION as well.
Steps to Reproduce
Use a device with android 12+
Remove location permission
Go the city selection
Click on the refresh button next to Location access required
Select approximate
See the snackbar showing that location access is blocked
Expected Behavior
The app should take the approximate location and still work with that.
Actual Behavior
Selecting approximate location leads to app showing the access is blocked completely.
Describe the Bug
Since Android 12 it is possible to decide whether to grant an app precise location or just approximate location.
As default, android always asks whether to grant precise or approximate location when requesting fine location.
Since we only ask for precise location (i.e.
ACCESS_FINE_LOCATION
, we getdenied
if the user only grants approximate location.Instead of this, we should be okay with
ACCESS_COARSE_LOCATION
as well.Steps to Reproduce
Location access required
approximate
Expected Behavior
The app should take the approximate location and still work with that.
Actual Behavior
Selecting approximate location leads to app showing the access is blocked completely.
Additional Information
Code snippet that could be useful: zoontek/react-native-permissions#668
https://developer.android.com/develop/sensors-and-location/location/permissions#accuracy
The text was updated successfully, but these errors were encountered: