General philosophy on background location and integrity
Background location is very intrusive integrity wise. Maybe to much to only be protected by a popup dialog.
Especially when surfing the web (webapps) but maybe also regarding native apps.
One way of preventing the user from "accidentally" approving stuff that (s)he didn't mean to approve, is to add some extra "proof of work" to the process of approving.
I suggest a third party (or is it forth) app where is obvious that it will track you in the background. Ex:
- The app stores (or the operating systems) could enforce that the term "tracker" (or something) is a part of the name.
- The app stores (or the operating systems) could prevent it if the main functionality of the app has nothing to do with background location.
The user must download it.
Then exactly how the location is transferred to the apps that want the position is an other question.
backgroundTracker4WebApps allows users to enter a list of urls to which the position is sent too.