You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello guys,
In advanced, thanks for this helpful plugin.
I have an app in production and my current config is like this: VitePWA({ registerType: 'autoUpdate', // else })
for every new release, new SW.js would install and activated and my app gets reload and that's fine.
now I wanna change the value to "prompt" in order to show my users new update is available.
but when I push this new config to the production, new SW.js gets downloaded and installed but my users stuck in skip-waiting stage, and because new js code is not yet downloaded, my app doesn't show any update-prompt modal to users.
and all my users never can see my new versions any more.
what would I do to fix this issue?
The text was updated successfully, but these errors were encountered:
samgholipoor
changed the title
Not showing update prompt when using autoUpdate as registerType value
Not showing update prompt when used autoUpdate as registerType value before
Aug 18, 2024
Hello guys,
In advanced, thanks for this helpful plugin.
I have an app in production and my current config is like this:
VitePWA({ registerType: 'autoUpdate', // else })
for every new release, new SW.js would install and activated and my app gets reload and that's fine.
now I wanna change the value to "prompt" in order to show my users new update is available.
but when I push this new config to the production, new SW.js gets downloaded and installed but my users stuck in skip-waiting stage, and because new js code is not yet downloaded, my app doesn't show any update-prompt modal to users.
and all my users never can see my new versions any more.
what would I do to fix this issue?
The text was updated successfully, but these errors were encountered: