I have a website that meets all the pre-requisites for Google Chrome for Android's "improved" add-to-homescreen (A2HS) feature. I can install the app and a APK is formed and gets installed on the device and icon is available on homescreen.
In the Google developer blog documentation, it is said that with the "Improved" A2HS now, it's possible to modify the manifest.json
file with new icon and name after the site is visited subsequently, the installed web app's icon and name should upgrade:
You now have the ability to update your Progressive Web App's icon and name and have it reflected to the user. Changing your icon or name in the manifest will update the icon on the home screen after the user has subsequently opened the site.
I have tried to modify the manifest with new values and verified that the modified manifest is being downloaded to the browser when the site is opened again, but the update of the name and icon for the installed web app does not happen. This is tested on Chrome for Android v63.
How do I get it working? Are there any particular steps that need to be taken care of? Am I missing something?