3 ms·
If 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 ex
by michaelt 8y ago
If 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 8y 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.