Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show a notification when there is an app update #166

Closed
gregjhogan opened this issue Dec 3, 2021 · 0 comments
Closed

Show a notification when there is an app update #166

gregjhogan opened this issue Dec 3, 2021 · 0 comments

Comments

@gregjhogan
Copy link
Member

We use a service worker to update the app in the background when a new version is released.

The notification should communicate there is an update and what you have to do to load it (you need to close the entire browser, all tabs, to get the update to load)

Simply refreshing the page could also work if we are comfortable using skipWaiting()
https://developers.google.com/web/fundamentals/primers/service-workers/lifecycle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants