ServiceWorkers and background tasks

Is Safari looking to support Javascript ServiceWorkers for background tasks of idle Web Apps?


I have been told that the Safari navigator.geoLocation.watchPosition() method continues to deliver position updates even when the phone screen is off or Safari is in the background. A useful feature but hard on the battery.


Is this the Safari strategy going forward or are ServiceWorkers coming into play?


I find the current Chrome and Firefox plances for a restricted geoLocation API (GeoFencing) particularly debilitating and hope it doesn't get up as a standard.


What is Apple Safari's solution?

Replies

Please?


Background processing is pretty important going-forward!


Does Safari just let EVERYTHING run forever?

I sent an email to Jon Davis (WebKit evangalist) and got no response either :-(


Edge developers have just comitted to an implementation so that just leaves Safari and IE11 as the only mainstream browsers not implementing Services Workers or the Push API.


Please advise. Anything?

Were building PWA and really need Service Worker Integtration for Push Noticiations, anything on the horizon for Safari? everyone else seems to be on the ball...

Service .Workers are now available in Safari on iOS 11.3, but it's my understanding that they are minus push and background sync support.

Keep in mind.. on all iOS devices Javascript is disabled by default in Safari. No ServiceWorkers will ever be executed. All users to your site must manually enable javascript in the settings/safari options. Also keep in mind that 98% of iOS users will never manually turn on javascript just to use 'your' site. I'm working on a serviceworker app as well and came to realize that unless Apple enables javascript on iOS 11 safari by default none of these PWA apps will ever work. Users of your site will simply think your site is broken and move on.


So that begs the question to Apple. Will iOS 11 Safari come with Javascript enabled by default to support PWA apps and ServiceWorkers? I have yet to see anyone discuss this minor (not so minor) detail.

Where is ServiceWorkers support for WkWebView? Looking at my appCache code in WebDebugger it tells me appCache is deprecated, use ServiceWorkers. It's not there. When it is coming?