'Updating installed PWA
I installed a angular 13 pwa on Chrome in Android. I have the manifest and service worker on default and wanted to ask if there’s a way to force it to reload for an update I want to deploy? Now I know I should have used swUpdate or similar ways I should have thought about in advance but since I haven’t. Is there a way, besides waiting for the 24h automatic refresh of Chrome? Thanks in advance.
Solution 1:[1]
ServiceWorkerRegistration has an update() method you can read about on MDN.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | StormyKnight |
