Top "Angular-service-worker" questions

Questions related to the @angular/service-worker module, for automatically generating a service worker to power your Angular web apps.

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
Is "Add to home screen" feature of PWA supports in iOS?

I am building an app using PWA. I am using Angular to meet our requirement. Basically, it is a media …

angular service-worker progressive-web-apps angular-service-worker
How can we use FCM Service Worker with a existing Service Worker?

We are creating a PWA web app and currently, we are using sw-precache library for generating service worker file, which …

angular firebase-cloud-messaging service-worker angular-service-worker
No Service worker files ngsw.json / ngsw-worker.json generated when running build --prod. Angular 5

Using angular 5.1.2 Angular-cli 1.6.3 all files are pretty vanilla. dist folder is created My ngsw-config.json { "index": "/index.html", "assetGroups": [ { "name": "…

angular progressive-web-apps angular-service-worker
Angular Service Worker, caching api calls for offline app

I'm trying to make the service worker in angular work with API requests. I'd like the app to work offline …

javascript angular service-worker angular5 angular-service-worker
Angular Service Worker - Failed to load resource: the server responded with a status of 504 (Gateway Timeout)

I am using the Angular-CLI 1.6.6 and @angular/service-worker 5.2.5 in our Angular 5.2.5 app. Everything works fine on the local lite-server, as …

angular angular-cli angular5 service-worker angular-service-worker
Angular 7 Failed to register a ServiceWorker: A bad HTTP response code (404) was received when fetching the script

I am getting the following error ERROR Error: Uncaught (in promise): TypeError: Failed to register a ServiceWorker: A bad HTTP …

angular service-worker angular7 angular-service-worker
What is the purpose of a manifest.json file in an Angular project

First of all I didn't know anything about the potential existence of such file in the context of an Angular 5+ …

angular angular-cli angular5 service-worker angular-service-worker
Angular ServiceWorkers + MIME type error

I'm trying to add service workers to our existing angular (5.2, CLI 1.7.1) application. I did everything I was suppose to: I …

angular angular-service-worker
Angular 6 : DevTools failed to parse SourceMap: https://example.com/ngsw_worker.es6.js.map

I converted my angular 6 application to PWA using the Angular CLI (ng add @angular/pwa). I only have one project …

google-chrome service-worker progressive-web-apps angular6 angular-service-worker