Top "Service-worker" questions

A service worker is JavaScript code that, once registered with an associated origin and scope, will respond to browser-initiated events, even when the pages it controls are no longer open.

DOMException: Registration failed - permission denied

I have a web notification script which works fine. However when i was testing in chrome version 43, I get the …

javascript google-chrome service-worker web-push
Uncaught TypeError: Cannot read property 'id' of undefined at registerNgModuleType - angular PWA

after adding @angular/pwa to my app ng add @angular/pwa --project appName I get error core.js:34469 Uncaught TypeError: …

angular service-worker
Android Back Button on a Progressive Web Application closes de App

Can a "pure" HTML5/Javascript (progressive) web application intercept the mobile device back button in order to avoid the App …

android html service-worker progressive-web-apps
Chrome ServiceWorker postMessage

I try to postMessage between a web application and the corresponding service worker. The service worker is successfully registered and …

progressive-web-apps service-worker postmessage
Angular 5 and Service Worker: How to exclude a particular path from ngsw-config.json

I have ngsw-config.json (taken from the docs): { "index": "/index.html", "assetGroups": [{ "name": "app", "installMode": "prefetch", "resources": { "files": [ "/favicon.ico", "/…

angular service-worker angular-service-worker
Why my Service Worker is always waiting to activate?

I have this very basic question I'm striving to understand the Service Worker life cycle, or even better, what in …

javascript service-worker service-worker-events
Service worker Failed to load resource: net::ERR_INTERNET_DISCONNECTED

Im currently implementing a PWA using Polymer + service workers. Generally, the service worker works fine. If I run my application …

javascript polymer service-worker sw-precache
Service Workers not updating

I have a service worker installed in my website, everything works fine, except when I push an update to the …

javascript web-worker service-worker
how to register a service worker from different sub domain

I have two subdomains: https://abc.xxxx.com and https://xyz.xxxx.com. So my questions: 1). is it possible to …

javascript service-worker progressive-web-apps