If Microsoft's new strategy works, PWAs may help increase the number and quality of apps located in the Microsoft Store. PWAs in the Store will be packaged as an AppX in Windows 10 and be able to run in their own sandboxed container.
Microsoft added Service Workers support in Microsoft Edge back in December 2017 for testing by Windows Insiders. Along with Fetch networking and the Push and Cache programming interfaces, Microsoft now has the technical foundation in place for PWAs on Windows 10, officials said in a blog post today. Microsoft plans to enable Service Worker, Push, and other technologies by default when EdgeHTML17 ships to stable builds of Windows 10.
At the same time, in the coming weeks, Microsoft is going to undertake some "experiments" with crawling and indexing PWAs from the web so they can be listed in the Microsoft Store. Microsoft already has been using the Bing Crawler to identify PWAs for the past year. Officials said they've reviewed 1.5 million potential candidates and identified a "small initial set" of PWAs, which the company will make available to Windows 10 users "over the coming weeks."
Developers also have the option of proactively submitting PWAs for inclusion in the Microsoft Store. To generate an AppX with a PWA, devs can use Microsoft's free PWA Builder tool. By submitting manually, devs will have the option to distribute their apps in the Microsoft Stores for Business and Education, as well.
(A quick note: While Service Worker features will be enabled for the UWP platform and installed PWAs with Redstone 4, they aren't available currently to those with already published apps in the Store.)
In today's blog post, officials said there are still cases when it may make sense for developers to still do native app development instead of going the PWA route. However, for developers who are working to maintain apps that largely are the same on multiple native platforms along with the Web, PWAs may be the way to go, company officials acknowledged. Additionally, devs who are building brand-new apps also may go with PWA because it's a faster and more cost-effective option, Microsoft execs conceded.