humazed / google_map_location_picker

🌍 Map location picker component for flutter Based on google_maps_flutter
Apache License 2.0
206 stars 309 forks source link

Code changes in lib\src\map.dart #183

Open hiasad opened 2 years ago

hiasad commented 2 years ago

To make everything work with the latest version I have to make the following changes:

Line 98: await Geolocator.getCurrentPosition(desiredAccuracy: widget.desiredAccuracy); //add Geolocator. here

Line 327: final geolocationStatus = await Geolocator.checkPermission(); // add Geolocator here

Line 402: Geolocator.openAppSettings(); // add Geolocator here

I am running with the latest version of Geolocator plugin. Why do I have to make these changes?