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
when the user does not accept the location permission (iOS) then there is no way to figure this out. I would accept that
var currentLocation = <String, double>{};
var location = new Location();
// Platform messages may fail, so we use a try/catch PlatformException.
try {
currentLocation = await location.getLocation;
} on PlatformException {
currentLocation = null;
}
throws an exception
The text was updated successfully, but these errors were encountered:
Hey ! Sorry for the late response, you should be able to manage this with requestPermission and hasPermission. Moreover, on getLocation, the plugin will try to request permission for you.
Good day !
Hey,
when the user does not accept the location permission (iOS) then there is no way to figure this out. I would accept that
throws an exception
The text was updated successfully, but these errors were encountered: