You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 25, 2026. It is now read-only.
One of the problems with background geolocation is that the user gives access to it once, and then the app can use it (in service worker) if it's minimized or even closed (see the use cases), and the user may not know about it. This is a user privacy issue. Therefore, some kind of visual indicator is needed.
Native Android apps shows an icon in the status bar (when geolocation is accessed):
But this approach has a few drawbacks:
The icon is small and may not be noticeable enough.
It's not clear which app uses geolocation.
That's why I propose persistent notification:
This approach is already used for accessing audio and video input:
One of the problems with background geolocation is that the user gives access to it once, and then the app can use it (in service worker) if it's minimized or even closed (see the use cases), and the user may not know about it. This is a user privacy issue. Therefore, some kind of visual indicator is needed.
Native Android apps shows an icon in the status bar (when geolocation is accessed):
But this approach has a few drawbacks:
That's why I propose persistent notification:
This approach is already used for accessing audio and video input: