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 - Angular Tutorial
From the course: Angular: Progressive Web Apps
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,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
(Locked)
What is a service worker?8m 28s
-
(Locked)
Serving the app while offline11m 14s
-
(Locked)
Update UI on network status change6m 55s
-
(Locked)
Customizing ngsw-manifest10m 12s
-
(Locked)
Supporting app updates11m 3s
-
(Locked)
Adding web push notifications10m 10s
-
(Locked)
Validating with DevTools4m 5s
-
(Locked)
-