- From: Jake Archibald <notifications@github.com>
- Date: Sun, 02 Apr 2017 15:31:12 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 2 April 2017 22:31:45 UTC
Pretty confident the service worker isn't the place for doing this. The best way is to give a page the ability to stay open, perhaps following a user permission, and shows a sticky notification so the user knows the site is still running. Then geolocation will work as expected. This feature would work for other long-running tasks too, and is closer to how browsers currently behave with media, and I believe it's pretty much how android does it. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/745#issuecomment-291019901
Received on Sunday, 2 April 2017 22:31:45 UTC