Expected ratio of ServiceWorker instances to Geolocation Updates

前端 未结 1 1289
耶瑟儿~
耶瑟儿~ 2020-12-19 22:37

EDIT: There is a new version of my Brotkrumen Web App in the same location.

Most important design/proposed-specification change is that TravelManager subscription sh

相关标签:
1条回答
  • 2020-12-19 23:34

    A: Yes, the example code demonstrates conclusively that the Service Worker paradigm is ideally suited to delivering the much vaunted Background Geolocation to Ultimate Web Apps. The renewal of the SW instance expiry timer for each new position update is key to SW longevity. This is by far the most battery friendly yet feature rich solution available to the Web App background geolocation conundrum.

    Note: I recommend a separate TravelManager instance per client (unlike the POC example) and Flex Box styling.

    Let's hope this gets picked up by UA suppliers ASAP!

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