Update Service
class UpdateService
This service is a wrapper for communicating with SwUpdate, which manages service worker updates.
It:
Subscribes to service worker updates and alerts if an update is found or ready.
Checks for service worker updates when requested.
Emits the last update check timestamp.
Recipe: Integrate this service with a back-end service that returns the latest version available and the minimum supported version, to encourage users to update or to force users to update respectively.
update.service.ts
Last updated