pwa-builder / pwabuilder-windows10

PWABuilder Windows 10 Platform
Other
16 stars 17 forks source link

Service worker for windows10<v1803 #35

Closed bil-ash closed 4 years ago

bil-ash commented 5 years ago

Is there any service workers polyfill for windows10 <v1803. If it dosen't, please consider creating one.It shouldn't be very hard since hosted web apps(that's what PWAs become without service workers) can access windows apis and so an api identical to service workers can be created(for windows 10 v1507 to v1709) which uses windows file system api under the hood.

Context: I plan to release a game as a PWA in January 2019. So I am getting more than 75% android users(since android supports service workers since lollipop).Around a week ago I read that around 50% ios users are on ios 12 which supports service workers(with some bugs :grinning:). So I can safely assume that by January 2019 around 75% ios devices will support service workers(more users will upgrade and also the fact that service workers are available on ios since v11.3).But that is not going to be the case on windows 10. I doubt whether even 40% of windows 10 users will be on v1803 or higher by January 2019. So a service worker polyfill(providing offline support,other apis like push notifications may not be that necessary) for unsupported versions of windows 10 is necessary.