Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to have multiple geofences? #1

Closed
blackbeario opened this issue Feb 25, 2021 · 3 comments
Closed

Is it possible to have multiple geofences? #1

blackbeario opened this issue Feb 25, 2021 · 3 comments

Comments

@blackbeario
Copy link

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

@zumrywahid
Copy link

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

@SarfarazAhmed008
Copy link
Owner

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants