Unhandled Exception: MissingPluginException geolocator package which works fine on android but not in IOS

913 Views Asked by At

Here is my code to fetch location which is working on android but in IOS its showing error

Position position = await Geolocato.getCurrentPosition( desiredAccuracy: LocationAccuracy.high);

ERROR: Unhandled Exception: MissingPluginException(No implementation found for method getCurrentPosition on channel flutter.baseflow.com/geolocator)

Package : https://pub.dev/packages/geolocator

0

There are 0 best solutions below