Baseflow / flutter-permission-handler

Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions.
https://baseflow.com
MIT License
2.05k stars 859 forks source link

[Question]: How do I distinguish between exact location and approximate location permissions? #1404

Closed Minessential closed 1 week ago

Minessential commented 1 week ago

Please check the following before submitting a new issue.

Please select for which platform(s) you need help

Your question

Hi, there. If I want precise location permission but the user grants approximate location permission instead, how can I find this out? I’ve tried using Permission.location and Permission.locationWhenInUse to trigger the request, but these only return statuses like granted, denied, or permanently denied. How can I determine more accurately whether the user has granted precise or approximate location permission?

Version

11.3.1