angularprogressive-web-appsservice-workerservice-worker-events

Updating an Angular PWA in a controlled manner: Questions


I've been playing around with angular's PWA. I got everything running as I wanted, but I still have some unanswered questions:

I find the swUpdate API to be a bit archaic. Why does checkForUpdate() not return an Observable with the UpdateAvailableEvent if there is any? 🤷‍♂️

Cheers


Solution

  • As I could not fix this problem, I switched to Workbox