issues
search
SarfarazAhmed008
/
geofence
Geofencing plugin for flutter application (android and ios). https://pub.dev/packages/geofence_flutter
https://pub.dev/packages/geofence_flutter
MIT License
12
stars
9
forks
source link
Unable restart service with new location
#2
Open
Traderain
opened
3 years ago
Traderain
commented
3 years ago
Steps to reproduce:
Start listening to a coordinate
Stop listening
Start listening to a new one
Error/Nothing Code:
https://github.com/SarfarazAhmed008/geofence/blob/master/lib/geofence_flutter.dart#L52
Since the lat, long variables are scoped they aren't updated in the listening to an async method and they make it impossible to track a second location throughout the lifetime of the app.
Steps to reproduce: