5 ms·
Nice. I wish there was some web API to record geolocation in the background over time. I understand the privacy implications, but if it was an API only availabl
by aeharding 4y ago
Nice. I wish there was some web API to record geolocation in the background over time. I understand the privacy implications, but if it was an API only available to installed PWAs, and with an indicator similar to native apps when recording geolocation in the background, I feel like that would be acceptable.
- jameal 4y agoIs this not possible with a service worker? That's too bad. I haven't thought much about the privacy implication but I figure if you go through the trouble of installing a PWA and granting it access to your location then why not? What you suggested seems like a good route.
- teleclimber 4y agoI was wondering as well so I looked it up real quick. Here are some relevant issues: - https://github.com/w3c/ServiceWorker/issues/745 https://github.com/w3c/ServiceWorker/issues/745 - https://github.com/w3c/geolocation-sensor/issues/22 https://github.com/w3c/geolocation-sensor/issues/22