3 ms·
Geofencing is just conditionally acting depending on a location. All you need for it is a location.
by gloflo 7y ago
Geofencing is just conditionally acting depending on a location. All you need for it is a location.
- michaelt 7y agoIf we want to show users permission dialogs and that let them make good decisions, there's a need for finer grain APIs to allow finer-grain permissions. For example, for a smart home app asking 'precise location constantly even when not using the app' is sufficient to perform geofencing - but asking for a more limited 'know when you arrive home' is much more likely to get user approval.
- floatingatoll 7y agoThe correct time to ask for the permission is when the user attempts to set up geofencing, at which point the phone OS should present a geofence picker that stores the fence in the OS and notified the app on entry/exit. The app itself has no need to know what the geofence coordinates and radius are, so by implementing the geofence at the OS level you can optionally as app author decline to care what its coordinates are — and thus have no need to request location access at all.
- dwighttk 7y agoYou also need to be able to run in the background