Is it possible to track geolocation with a service worker while PWA is not open

前端 未结 1 501
醉酒成梦
醉酒成梦 2020-12-14 17:50

Is it possible to read from local storage and track geolocation in PWAs with a service worker while app is not open on phone (in background)

So far my research is po

相关标签:
1条回答
  • 2020-12-14 18:44

    The solution is at hand and has been for some years now as this POC clearly testifies. Unfortunately W3C and lobbyists such as Jake Archibald have fought tooth and nail to prevent it from being made available :-(

    Why? I know not. The "cui bono" argument points to plug-in vendors such as Ionic whose whole raison d'etre appears to be background geolocation.

    See this link for complete story.

    0 讨论(0)
提交回复
热议问题