# Progressive Web Apps (PWA) and Windows 10

**URL:** <https://forum.kirupa.com/t/progressive-web-apps-pwa-and-windows-10/637192>\
**Category:** web dev\
**Created:** [September 19, 2017, 8:34pm UTC](https://forum.kirupa.com/t/progressive-web-apps-pwa-and-windows-10/637192 "2017-09-19T20:34:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [September 19, 2017, 8:34pm UTC](https://forum.kirupa.com/t/progressive-web-apps-pwa-and-windows-10/637192/1 "2017-09-19T20:34:40Z")

</div>

Hi everyone!  
I recently gave a talk at the Edge Summit around what I spend a lot of my hours working on - Microsoft’s PWA plans and how it integrates nicely with the larger goal of re-using web code for both web and native solutions. In this post, I just want to share some quick notes that you can all refer to for updates.

## If You Missed the Recording

First, you can [watch a recording here](https://channel9.msdn.com/Events/WebPlatformSummit/Microsoft-Edge-Web-Summit-2017/ES04). If you want to glance through the slides, [click here](http://video.ch9.ms/sessions/c1f9c808-82bc-480a-a930-b340097f6cc1/04PWAHWAElectron.pdf).

While I think the entire talk is useful for you to watch (especially when [Chandra](https://twitter.com/chandrachiv) from [Microsoft Teams](https://products.office.com/en-us/microsoft-teams/group-chat-software) explains how they solve the web/native developer productivity problem), one of the big updates I provided in this talk is our timeframe for PWAs in Windows 10. This is the high-level answer:

 ![](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/2X/0/0f85c686e20e76938b6d0cb604e83acc388a47de.jpg)

The following sections will go into a little bit more detail:

## **Edge Browser Behavior**

Our upcoming release next month ([Fall Creator’s Update](https://www.microsoft.com/en-us/windows/upcoming-features)) will have Service Worker support hidden behind flags in Edge:

 ![](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/2X/1/12a4c6ec6a3ebb023cc5fdfded3d01575457edcf.jpg)

## **Apps Behavior**

For apps, you can test Service Worker functionality by adding the _ServiceWorker=“true”_ value to your appxmanifest.xml file that is a part of your project:

`<uap:Rule Type="include" Match="https://contoso.com/" ServiceWorker="true" WindowsRuntimeAccess="all"/>`

This will allow you to test locally on your machine, but do not submit this app to the Store. Until Service Worker functionality is fully supported, we will not allow app store submissions!

## **PWAs in the Store…Automatically**

One of the big initiatives we are taking is getting your PWAs into the Windows Store with very little involvement from you. The way we are doing that is by using Bing to crawl your manifest.json and relying on the metadata there to create the app that lives in the Store:

 ![](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/2X/7/730b64e79876ed57516466f7d493a77186ea924a.png)

**We are piloting the entire workflow with a handful of apps (and their developers) right now**, and we will start ramping this up as we get closer to full PWA support next year. The goal is to get quality apps into the Store. Coming up with the right algorithms to detect quality is something we are constantly tweaking, but we will detail our quality criteria shortly. You can see where we are leaning towards by referring to [Aaron Gustafson’s PWA talk](https://channel9.msdn.com/Events/Build/2017/B8075) at Build earlier this year.

## **Looking Beyond October**

Based on overall quality, we will start enabling Service Workers by default in Edge in our Insider Builds. The goal is to ship Service Worker support fully with our next major release next year. While I don’t have exact dates, it should be sometime around the first half of 2018 based on how we’ve shipped in the past.

Once our support for Service Worker is fully turned on, we will start allowing PWAs to be submitted to the Store as well. Until then, just because Store submission isn’t allowed today does not mean you can’t test the proposed app behavior today…like, right now! Here is how:

1. On Windows, a PWA is really just the W3C standards name for what have been calling [Hosted Web Apps](https://developer.microsoft.com/en-us/windows/bridges/hosted-web-apps). These are apps where the entirety of the content is served from your web server. The advantage of this solution is that your one web code base gracefully scales across the browser as well as a native Windows app. Because you are running as a fully-featured Windows app, you can call Windows Runtime APIs directly from JavaScript all by modifying your server code. There is no reason to make any local changes. The talk goes into a bit more detail about this.

2. The [**Start your app** section](https://developer.microsoft.com/en-us/windows/bridges/hosted-web-apps) will get you up-and-running with building a HWA really quickly. Just make sure to add the `ServiceWorker=“true”` value to the appxmanifest to test them out now.

Hopefully this clarifies what I mentioned in my talk in slightly more detail. Let me know if there any questions on what you’ve seen. This is a fun and constantly evolving space, so keep in mind that some things you’ve seen here may change based on your feedback and so on 🙂

Cheers,  
Kirupa

---

<div class="post-metadata">

**Author:** ![mtycholaz](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mtycholaz/32/8721_2.png) [@mtycholaz](https://forum.kirupa.com/u/mtycholaz)\
**Post date:** [October 3, 2017, 8:22pm UTC](https://forum.kirupa.com/t/progressive-web-apps-pwa-and-windows-10/637192/2 "2017-10-03T20:22:04Z")

</div>

This looks awesome. I have a question; can service workers be used as background services in my HTML/JavaScript UWP app? If so, do you have any documentation?

---

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [October 3, 2017, 10:19pm UTC](https://forum.kirupa.com/t/progressive-web-apps-pwa-and-windows-10/637192/3 "2017-10-03T22:19:54Z")

</div>

Yes, they absolutely can! The service worker code you would write is identical to what you would write for the web. There is no UWP specific documentation for it outside of ensuring your appxmanifest declaring `ServiceWorker = true`.

---

<div class="post-metadata">

**Author:** ![mtycholaz](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mtycholaz/32/8721_2.png) [@mtycholaz](https://forum.kirupa.com/u/mtycholaz)\
**Post date:** [October 4, 2017, 1:30pm UTC](https://forum.kirupa.com/t/progressive-web-apps-pwa-and-windows-10/637192/4 "2017-10-04T13:30:50Z")

</div>

Sounds great. Does the latest insider release for Windows 10 mobile also support these features in Edge/UWP?

---

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [October 4, 2017, 2:57pm UTC](https://forum.kirupa.com/t/progressive-web-apps-pwa-and-windows-10/637192/5 "2017-10-04T14:57:42Z")

</div>

I don’t know, but let me get you an answer shortly 🙂

**Edit:** The answer is that it will be released when ready! No dates to share just yet.

---

<div class="post-metadata">

**Author:** ![mtycholaz](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mtycholaz/32/8721_2.png) [@mtycholaz](https://forum.kirupa.com/u/mtycholaz)\
**Post date:** [October 5, 2017, 4:24am UTC](https://forum.kirupa.com/t/progressive-web-apps-pwa-and-windows-10/637192/6 "2017-10-05T04:24:32Z")

</div>

Thanks for looking into this. I use Ionic 2 for my Windows 10 mobile app, and this would be great to use for background services. Guess that I’ll need to wait a little longer.

---

<div class="post-metadata">

**Author:** ![Chris\_Love](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/chris_love/32/8809_2.png) [@Chris\_Love](https://forum.kirupa.com/u/Chris_Love)\
**Post date:** [November 15, 2017, 7:15pm UTC](https://forum.kirupa.com/t/progressive-web-apps-pwa-and-windows-10/637192/7 "2017-11-15T19:15:34Z")

</div>

Great session Kirupa. And thanks for sitting down with me to have a casual conversation about Microsoft and Progressive web applications, [https://youtu.be/aG2XYgIhaUQ](https://youtu.be/aG2XYgIhaUQ).

---

<div class="post-metadata">

**Author:** ![c\_grigor](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/c_grigor/32/8961_2.png) [@c\_grigor](https://forum.kirupa.com/u/c_grigor)\
**Post date:** [January 26, 2018, 2:20pm UTC](https://forum.kirupa.com/t/progressive-web-apps-pwa-and-windows-10/637192/8 "2018-01-26T14:20:00Z")

</div>

Congratulation for your presentation. Very interesting to hear Microsoft’s plans. PWAs bring a lot of benefits. I just mention the fact that PWAs engage your customers like a native app would but are less costly and more time efficient.
