Bug 183937

Summary: Icon from Web App Manifest not supported
Product: WebKit Reporter: Thomas Steiner <tomac>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED MOVED    
Severity: Normal CC: a, aarontgrogg, bfulgham, big.jan, cedric, cristian.stanescu, dev, guilhermezz, harit.subscriptions, hearcomestreble, hypertree, judahgabriel, juraj.malecka, kharchenkosviatoslav, mail, martiminchev, mathias, n.dj, nicolas, onderceylan, paul.neave, rik, rniwa, sander, splaktar, talk, timswinkels, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 11   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=158205

Description Thomas Steiner 2018-03-23 08:25:09 PDT
Steps to reproduce:

1) Go to https://tomayac.github.io/pwa-feature-detector/
2) Add the app to the home screen
3) Experience the following issues:
- The app icon is not respected (120x120px).

Expected behavior:
- The app icon should be respected (120x120px should be OK).
- The icon (no matter if auto-generated or set in the manifest) should always be shown. 

Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1

Initially reported in https://bugs.webkit.org/show_bug.cgi?id=182261#add_comment.
Comment 1 Radar WebKit Bug Importer 2018-03-26 15:23:01 PDT
<rdar://problem/38885381>
Comment 2 Ryosuke Niwa 2018-03-27 20:37:01 PDT
<rdar://problem/37585902>
Comment 3 Thomas Steiner 2019-01-28 08:08:28 PST
The latest Web App Manifest spec now supports icon masks: https://w3c.github.io/manifest/#icon-masks. (This via https://twitter.com/kennethrohde).
Comment 4 Harit Himanshu 2019-01-30 14:05:14 PST
Please prioritize this issue. Getting PWA consistently across all devices is very important to us as web developers. Thank you
Comment 5 Nathaniel Dassardo-Joseph 2019-03-12 03:40:13 PDT
Agree with the above.

Standardising PWAs will align the web and mobile technologies.
Comment 6 Philipp 2019-04-09 14:01:51 PDT
+1 Would be great to have this
Comment 7 aarontgrogg 2019-04-10 04:25:19 PDT
Yes please!
Comment 8 Ernst 2019-04-15 01:42:52 PDT
+1 It will be fantastic to have this.
Comment 9 Keysee 2019-09-19 13:53:33 PDT
+1 Would be great!
Comment 10 Mathias Bynens 2019-12-18 02:58:24 PST
FWIW this is an issue for us on v8.dev, to the point where we're considering resorting to userland workarounds (https://github.com/GoogleChromeLabs/pwacompat) for this iOS Safari issue.
Comment 11 Jan 2020-07-23 03:46:21 PDT
+1 Would be great!
Comment 12 Judah Gabriel Himango 2020-07-25 12:52:04 PDT
+1, we web devs really want to see this supported.
Comment 13 Abdón Rodríguez Davila 2020-09-03 12:14:36 PDT
+1 yes please!
Comment 14 onderceylan 2020-12-10 12:48:11 PST
The Web App Manifest API development on WebKit feature status is moved from "In Development" status to "Partially Supported": https://webkit.org/status/#?search=web%20app%20manifest

Is there any plan for the development of this feature?
Comment 15 Thomas Steiner 2022-01-31 00:39:27 PST
This has been implemented as of iOS 15.4 beta 1. Thanks so much! I noticed a small issue with the chosen icon, though. Filed as https://bugs.webkit.org/show_bug.cgi?id=235877.
Comment 16 Brent Fulgham 2022-02-12 21:33:32 PST
The fix for this issue was needed outside the WebKit project, therefore this is being resolved as 'Moved'.

This should now be fixed in STP 139, iOS 15.4 Beta, and macOS 12.3 Beta.
Comment 17 Thomas Steiner 2022-02-14 00:06:25 PST
Thanks for fixing this and also for stating where it has rolled out. Did you have a chance to reproduce the follow-up bug I have reported in https://bugs.webkit.org/show_bug.cgi?id=235877?