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

icon update after installation #456

Open
accursiodimino opened this issue Jul 31, 2023 · 2 comments
Open

icon update after installation #456

accursiodimino opened this issue Jul 31, 2023 · 2 comments

Comments

@accursiodimino
Copy link

hello I installed the application on the phone with a name and an initial icon, then I changed the logo (app icon) and the name but the old icon and name is still displayed on the phone and no update is proposed, like can i force or change the icon without a pwa uninstall and reinstall? Thank you

@GitStudying
Copy link

Make sure that all your caches are clear, first from the server side. Then make sure that your client/phone cache of the specific site is cleared/refreshed by deleting the sites data in the browser settings or force refresh (but this does not always work I think).
Then if you reinstall you should see updated details and icons.

@akshaywali
Copy link
Collaborator

@accursiodimino
This issue is caused by caching. You can follow the below steps to fix the issue.

  1. After changing the logo . Change Service Worker version, you can find it in advance tab.
  2. Clear cache in your browser (Chrome/Safari) since PWA actually runs in the browser instance.
  3. Also make sure your server side cache is also cleared.

Hope this helps.

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

3 participants