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

Added to the home screen, automatic updates are not functioning. #524

Open
lioWeb1024 opened this issue May 28, 2023 · 4 comments
Open

Added to the home screen, automatic updates are not functioning. #524

lioWeb1024 opened this issue May 28, 2023 · 4 comments

Comments

@lioWeb1024
Copy link

Device: iPhone, browser: Safari, added to the home screen with navigator.standalone set to true, auto-updates with vite-plugin-pwa not working. Have you encountered such a situation?

@lioWeb1024 lioWeb1024 changed the title registerType: "autoUpdate" Added to the home screen, automatic updates are not functioning. May 28, 2023
@hikariNTU
Copy link

If you close the app through task preview (is that how it called?)
The next time you open the app, it will auto updated the content

Wonder if iOS never trigger the navigation or some required event when the apps is still alive in the background

@userquin
Copy link
Member

@hikariNTU it is a problem with the user agent (Safari/iOS/macOS), we cannot do anything here

@enkhchuluun
Copy link

@lioWeb1024 I wonder how to get the PWA install work on iOS device? I've searched through the internet, what i only found is that user need to install manually? In that case, do i need to show some guidance modal? is there any best practice?

Thanks

@anderskiaer
Copy link

Looks like this is still a problem on iOS 18.1.1 When calling updateServiceWorker(), the PWA reloads with new version of service worker in e.g. Edge and Chrome, but in Safari installed PWA on iOS it stays at the old version even after calling updateServiceWorker() (and the new version first appears if user completely closes the PWA and re-opens it, or wait a long time after minimizing the PWA).

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

No branches or pull requests

5 participants