The first mobile browser I used and that delivered deeper integration for web apps was Safari on iOS. By including some meta tags in your HTML head, like apple-mobile-web-app-capable, viewport and apple-touch-icon, upon adding a shortcut to your homescreen it would use a high-res icon and then on opening it would hide the address bar, set the initial scale and even use a startup image. This would make it possible for web apps to pretend that they are apps.
And of course, these are proprietary extensions to Safari, so since then a proposal for a standard happened and got implemented in Chrome. The way forward is to specify a JSON file containing a specification, called the app's manifest. I already mentioned it above, but see here: https://developers.google.com/web/updates/2014/11/Support-fo...
Firefox Mobile on Android does not implement it. BUT, they have a very similar manifest for Firefox OS, but that is not compatible with the new W3C standard. I can't really blame them for Firefox OS, as they probably developed this format before the W3c specification, of which they were also a part of. See here: https://developer.mozilla.org/en-US/Apps/Build/Manifest
But yes, take a recent Android and try Add to Homescreen for say Facebook or Twitter. And compare the result. Yes, a shortcut gets added to your homescreen, with a low resolution icon and no integration whatsoever. Heck, sometimes it doesn't even use the normal favicon. My old iPhone 3GS was handling this better 5 years ago.
Their strategy right now is to implement new APIs meant for web apps, including the above mentioned manifest, but only for privileged applications, packaged as a zip file and only installable via the Firefox Marketplace, an effort part of Firefox OS. And even though that's cool and you can install and run some of those apps on Android and probably on the desktop as well, that's not the Web.
And I'm not even asking for much. For my needs all I want is high-res icons, as I've got a resolution of 2560×1440 on my Nexus and those icons that Firefox adds are freaking horrible.
Well yeah, that was partially my point, Android Chrome already has at least partial support for service workers along with the Push and Notification APIs. On my Android I've been receiving Facebook's push notifications through Chrome and works well.
Firefox is my default on Android, but I do hope to see some progress on these, as I personally prefer web apps to native ones - more portable, not subject to a walled garden, plus the browser is the ultimate sandbox.
This functionality is actually old, see here: https://developer.apple.com/library/mac/documentation/AppleA...
And of course, these are proprietary extensions to Safari, so since then a proposal for a standard happened and got implemented in Chrome. The way forward is to specify a JSON file containing a specification, called the app's manifest. I already mentioned it above, but see here: https://developers.google.com/web/updates/2014/11/Support-fo...
Firefox Mobile on Android does not implement it. BUT, they have a very similar manifest for Firefox OS, but that is not compatible with the new W3C standard. I can't really blame them for Firefox OS, as they probably developed this format before the W3c specification, of which they were also a part of. See here: https://developer.mozilla.org/en-US/Apps/Build/Manifest
But yes, take a recent Android and try Add to Homescreen for say Facebook or Twitter. And compare the result. Yes, a shortcut gets added to your homescreen, with a low resolution icon and no integration whatsoever. Heck, sometimes it doesn't even use the normal favicon. My old iPhone 3GS was handling this better 5 years ago.
Their strategy right now is to implement new APIs meant for web apps, including the above mentioned manifest, but only for privileged applications, packaged as a zip file and only installable via the Firefox Marketplace, an effort part of Firefox OS. And even though that's cool and you can install and run some of those apps on Android and probably on the desktop as well, that's not the Web.
And I'm not even asking for much. For my needs all I want is high-res icons, as I've got a resolution of 2560×1440 on my Nexus and those icons that Firefox adds are freaking horrible.