Abhishek Ghosh
2018-02-19 11:32:46 UTC
Hello,
In Paul Kinlan's article on "Improved" Add-to-Homescreen
( https://developers.google.com/web/updates/2017/02/improved-add-to-home-screen
), it says that as an update to the icon/name of the web app as defined in
manifest will update the icon on the home screen after the user has
subsequently opened the site.
As a web site developer, I've tried to understand and emulate this process
but with no success yet. No matter how much I keep changing my web app
manifest's parameters, open the website (that fetches this new manifest as
verified from Dev Tools) both from the installed WebAPK icon or the Chrome
browser, put it in background (it's understandable how a WebAPK upgrade may
not happen if the app is in foreground) and so on, I have never been able
to trigger a WebAPK upgrade - I've waited for days, tried both with same
and changing manifest urls.
As a website owner, this worries me a lot to enable A2HS behaviour on a
website I may own - How can I get my users move on to the new experience
(name, icon, theme and so on) of my installed web app? If WebAPKs do not
upgrade automatically, it's pretty much a dead end because we can't have
any other website/service with our web-app listings to go and upgrade from
(such as a play store or app store) as painful as that may be; as well as
the website from Chrome's context menu (3-dot menu) now just says "Open in
<WebAPK>" rather than something like "Add to Homescreen" which means a
force-upgrade trigger from the user's end is also a no-go. The only
possibility is a user explicitly uninstalling the app and re-installing
using "Add to Homescreen" manually, which is extremely painful and unlikely
to be done by most users.
From some documentation across the web (and from my really limited
understanding of browsing through parts of Chromium source code), looks
like there is supposed to be this WebAPK "auto-upgrade" path but due to
whatever reasons I'm not able to test or trigger it. As a developer, how do
I test out this WebAPK upgrade path? What am I missing?
I've tried reaching out through other channels (Comments on
developer.google.com or Medium, questions on StackOverflow etc. to see if
there's anyone else facing this as well, sadly to no avail.) Hoping someone
can help me out here!
Thank you,
Abhishek
In Paul Kinlan's article on "Improved" Add-to-Homescreen
( https://developers.google.com/web/updates/2017/02/improved-add-to-home-screen
), it says that as an update to the icon/name of the web app as defined in
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 themanifest will update the icon on the home screen after the user has
subsequently opened the site.
As a web site developer, I've tried to understand and emulate this process
but with no success yet. No matter how much I keep changing my web app
manifest's parameters, open the website (that fetches this new manifest as
verified from Dev Tools) both from the installed WebAPK icon or the Chrome
browser, put it in background (it's understandable how a WebAPK upgrade may
not happen if the app is in foreground) and so on, I have never been able
to trigger a WebAPK upgrade - I've waited for days, tried both with same
and changing manifest urls.
As a website owner, this worries me a lot to enable A2HS behaviour on a
website I may own - How can I get my users move on to the new experience
(name, icon, theme and so on) of my installed web app? If WebAPKs do not
upgrade automatically, it's pretty much a dead end because we can't have
any other website/service with our web-app listings to go and upgrade from
(such as a play store or app store) as painful as that may be; as well as
the website from Chrome's context menu (3-dot menu) now just says "Open in
<WebAPK>" rather than something like "Add to Homescreen" which means a
force-upgrade trigger from the user's end is also a no-go. The only
possibility is a user explicitly uninstalling the app and re-installing
using "Add to Homescreen" manually, which is extremely painful and unlikely
to be done by most users.
From some documentation across the web (and from my really limited
understanding of browsing through parts of Chromium source code), looks
like there is supposed to be this WebAPK "auto-upgrade" path but due to
whatever reasons I'm not able to test or trigger it. As a developer, how do
I test out this WebAPK upgrade path? What am I missing?
I've tried reaching out through other channels (Comments on
developer.google.com or Medium, questions on StackOverflow etc. to see if
there's anyone else facing this as well, sadly to no avail.) Hoping someone
can help me out here!
Thank you,
Abhishek
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.