Home > Software design >  I cant run Geolocator.getCurrentPosition() in background (Flutter)
I cant run Geolocator.getCurrentPosition() in background (Flutter)

Time:05-07

when I try to getCurrentPosition while the application in the background or terminated, it returns

' MissingPluginException(No implementation found for method getCurrentPosition on channel flutter.baseflow.com/geolocator)' https://github.com/Baseflow/flutter-geolocator/issues/1045

Thank you everyone for reading

CodePudding user response:

Try flutter_background_geolocation!. Works well in background as well as terminate case.

CodePudding user response:

Try flutter_background_geolocation! Works well in background as well as terminate case..

  • Related