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

Not able to update pwa icon #754

Open
55Cancri opened this issue Sep 12, 2024 · 1 comment
Open

Not able to update pwa icon #754

55Cancri opened this issue Sep 12, 2024 · 1 comment

Comments

@55Cancri
Copy link

55Cancri commented Sep 12, 2024

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?

@userquin
Copy link
Member

userquin commented Sep 12, 2024

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.

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

2 participants