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

Is it possible to have multiple geofences? #1

Closed blackbeario closed 2 years ago

blackbeario commented 3 years ago

The examples show a single lat/lng. Is it possible to create an array of locations with this plugin?

zumrywahid commented 3 years ago

How can i cancel the existing geofence and re assign a new geofence ? I tried i am getting failure exception.

SarfarazAhmed008 commented 3 years ago

The examples show a single lat/lng. Is it possible to create an array of locations with this plugin?

Currently, its not supported for multiple locations.

SarfarazAhmed008 commented 3 years ago

How can i cancel the existing geofence and re assign a new geofence ? I tried i am getting failure exception.

To stop existing geofence service Geofence.stopGeofenceService(); Also, you need to stop listening to stream subscription listener For example (In my case): geofenceEventStream.cancel();

Re assigning is not supported yet. It will be available in future updates