© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
V. K. KotaruBuilding Offline Applications with Angularhttps://doi.org/10.1007/978-1-4842-7930-4_6

6. Upgrading Applications

Venkata Keerti Kotaru1  
(1)
-, Hyderabad, Telangana, India
 

So far you have created an Angular application, registered service workers, and cached application resources. This chapter details how to discover an update to the application, communicate with users, and handle events to gracefully upgrade to the next version.

The chapter extensively uses Angular’s SwUpdate service, which provides ready-made features to identify and upgrade the application. It begins with instructions to include (import and inject) the SwUpdate service . Next, ...

Get Building Offline Applications with Angular: Develop Reliable, Performant Web Applications for Desktop and Mobile Platforms now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.