From the course: Angular: Progressive Web Apps

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Supporting app updates

Supporting app updates

- [Instructor] So now we know how we can install a PWA, both from an icon point of view and also from an asset's point of view, so our users will have a full offline capable app on their devices. But what happens when we ship, when we deploy a new version of the app? So we go back to our Angular code, we make a change, we fix a bug, and we deploy back to the server. Will our users get the update? So how does that work? So when the user gets to the app again, for example, another day, the browser will actually check if there is a new version of the service worker. If there is a new version of the service worker, it will trigger an update operation that we can also force from here. The Update check that also we are actually forcing an update on every reload, but by default that's not happening. We don't have an update on every reload or every time we update the app. We will have an update only when there is a change,…

Contents