vite-pwa/vite-plugin-pwa

Not able to update pwa icon

55Cancri opened this issue · 1 comments

I am trying to update the icon of my installed pwa by deploying a new icon version, but on my phone the icon does not get updated.

I have tried registerType: "autoUpdate" and I versioned the icon name like icon-512.svg?v=3 but still the icon does not get updated after deployment.

I don't want users to have to uninstall and reinstall the pwa. How can update to the icon?

Not all user-agents (browsers) allow to change the pwa icons or can take a while.

That icon, where is configured, in the pwa icons or in the html or both? You shouldn't use svg icons in pwa icons, not all borwsers supports that format.