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

Feature request: Option to restrict start()/startGeofences() to only when inside a geofence #1447

Open
Jonny1987 opened this issue Mar 14, 2025 · 0 comments

Comments

@Jonny1987
Copy link

Jonny1987 commented Mar 14, 2025

I require the tracking to only be able to start inside a geofence. Currently I try to restrict this in the UI by checking the users location when the app is opened and only allow the user interaction which starts tracking if the location is within the bounds of the geofence.

However, it's possible the user could open the app and then move outside the geofence and the UI item which starts tracking will still be displayed. (geofence tracking would need to be already turned on to allow the UI to change while the app is still open and the user moves).

It would be nice as a fallback if there was an option to not allow tracking to start (or to automatically stop it immediately) if the initial ENTER geofence event doesn't get triggered

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

1 participant