askGpsForIos function
Implementation
Future<bool> askGpsForIos() async {
await Geolocator.requestPermission();
final serviceEnabled = await Geolocator.checkPermission();
if (serviceEnabled == LocationPermission.always ||
serviceEnabled == LocationPermission.whileInUse) return true;
return false;
}