Apple may integrate Service Workers into WebKit, support next-gen web apps in Safari
Apple this week began work toward integrating Service Workers, an API that lets browsers run background scripts, into WebKit, suggesting the company might one day support a form of next-generation web app in iOS.

Apple quietly revealed work on the technology in an update to its WebKit Feature Status webpage this week, which now shows Service Workers as "In Development," reports The Register.
As noted by Fortune, which also reported on the change, Service Workers comprise part of a larger Google-backed web technology initiative that allows developers to build specialized software known as Progressive Web Apps.
Unlike traditional iOS apps, web applications powered by Service Workers and other related APIs do not require downloads. In theory, PWAs allow browser-based apps to effectively compete with native software. Users need only direct their browser to a supported website to use said apps, links to which can be added to mobile OS home screens for easy access. The browser-based apps also support push notifications.
Service Workers allow PWAs to operate without a network connection by fetching cached content. The API also improves discoverability in search engines.
As an internet advertising company, Google is championing the effort for obvious reasons, but others have hopped on board as well. Internet browser developers Mozilla and Opera are also working on the solution, while Microsoft pledged support in May.
If they gain momentum, PWAs could mark a significant rethinking in how consumers interact with apps. Users would no longer be required to download or update software from dedicated repositories like the iOS App Store, while developers would only need to build a single app version, rather than one for each operating system.
PWAs shift power from the OS to the browser.
Whether Apple plans to incorporate PWA technology into a future version of Safari remains unclear, but the company is clearly investigating potential integrations. Aside from the recent announcement, Apple has remained expectedly quiet about its plans for Service Workers.

Apple quietly revealed work on the technology in an update to its WebKit Feature Status webpage this week, which now shows Service Workers as "In Development," reports The Register.
As noted by Fortune, which also reported on the change, Service Workers comprise part of a larger Google-backed web technology initiative that allows developers to build specialized software known as Progressive Web Apps.
Unlike traditional iOS apps, web applications powered by Service Workers and other related APIs do not require downloads. In theory, PWAs allow browser-based apps to effectively compete with native software. Users need only direct their browser to a supported website to use said apps, links to which can be added to mobile OS home screens for easy access. The browser-based apps also support push notifications.
Service Workers allow PWAs to operate without a network connection by fetching cached content. The API also improves discoverability in search engines.
As an internet advertising company, Google is championing the effort for obvious reasons, but others have hopped on board as well. Internet browser developers Mozilla and Opera are also working on the solution, while Microsoft pledged support in May.
If they gain momentum, PWAs could mark a significant rethinking in how consumers interact with apps. Users would no longer be required to download or update software from dedicated repositories like the iOS App Store, while developers would only need to build a single app version, rather than one for each operating system.
PWAs shift power from the OS to the browser.
Whether Apple plans to incorporate PWA technology into a future version of Safari remains unclear, but the company is clearly investigating potential integrations. Aside from the recent announcement, Apple has remained expectedly quiet about its plans for Service Workers.
Comments
Apple has done a pretty good job keeping the app store curated and free of malware. I don’t see how curation is possible in this brave new world. Obviously Android users don’t have much to lose - they’re already used to the wild west - but for iPhone owners, this seems like a step back.
which in turn let’s them better distinguish the value of native apps that really need to be native and push the price of those up?
at the same time they say introduced the iCloud store that brought these apps together in one spot and synced them across the customers devices that could have all the stickiness of the current platform at lower cost and better revenue.
Javascript is a lot better with ES6 but it's still not designed to be like a native development language and every app that is deployed is effectively open source.
The main thing that needs to be sorted for web apps is consistency across browsers. There's still things that break even between Chrome and Safari and they are both based on Webkit, diverging now because of the split with Blink. HTML5 audio support differing between them, differences in WebGL support.
Native on iOS won because Apple made it so easy to deploy apps that offered a great user experience. Web apps will keep improving but they'll always be missing key features and performance that make native better. There would have to be a better reason than the deployment and updates for most apps to switch away from native, especially when web views can be embedded in native apps.
I thought they already did in Safari.
Good thing I didn't put any in my current web site that's tending towards looking like an app.
Also, a single web UI cannot reproduce native platform UI on multiple, different platforms. See Java.