Closed MilesAdamson closed 4 months ago
See api docs .providerState. Also event onProviderChange
I see, so accuracyAuthorization
should also work on android and be a 1 or 0 depending on that status of that?
From the docs I interpreted it as iOS only
Try it and see. The docs are old
It seems to work on my samsung Galaxy A53. Should it work fine on most other android devices and iOS devices below 14 as well?
There's no reason to doubt it wouldn't.
I mean, there is a reason to doubt it if the docs are old and only make mention of iOS14 specifically. You could just say "yes"
Your Environment
4.13.5
flutter: 3.16.3
I would like to tell whether a user has precise location turned on. I have found this section of the docs but it is iOS only. https://pub.dev/documentation/flutter_background_geolocation/latest/flt_background_geolocation/ProviderChangeEvent/accuracyAuthorization.html
Is it possible to detect it in general for android as well?
I found another plugin with this sort of thing, which would be ideal here but I would rather not add a new plugin just for this one boolean. https://pub.dev/documentation/geolocator/latest/geolocator/LocationAccuracyStatus.html