Closed blackbeario closed 2 years ago
How can i cancel the existing geofence and re assign a new geofence ? I tried i am getting failure exception.
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.
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
The examples show a single lat/lng. Is it possible to create an array of locations with this plugin?