Skip to content

Service worker -cache updates #424

Answered by Splaktar
Kajol1995-rgb asked this question in Q&A
Discussion options

You must be logged in to vote

This seems to be a question for the Angular team and not the Angular Hispano team.

That said, I think you are trying to use the service worker in a way it was not designed for. I don't believe there is a concept of "user agreeing to a version update." The "OK" is not to agree that the app is allowed to update. It's to reload the app now to use the new update. The "Cancel" is there to allow you to quickly save your work before reloading the app to get the update. Either way, you are forced to update to the latest version of the app, one choice is immediate, the other allows a temporary delay. There is no way to permanently reject updates to the app. If you need that kind of functionality, …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Kajol1995-rgb
Comment options

@Kajol1995-rgb
Comment options

@Splaktar
Comment options

Answer selected by Splaktar
@Kajol1995-rgb
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants