Adding PWA to Home screen is not performed
Categories
(Firefox for Android Graveyard :: Web Apps (PWAs), defect, P5)
Tracking
(Webcompat Priority:?, fennec?, firefox58 affected, firefox59 affected, firefox60 affected, firefox61 affected, firefox62 affected, firefox63 affected, firefox64 affected)
People
(Reporter: oanaarbuzov, Unassigned)
References
()
Details
(Whiteboard: [webcompat])
Attachments
(1 file)
3.76 MB,
image/gif
|
Details |
Devices: - Google Pixel (Android 8.0.0) - Samsung Galaxy S7 Edge (Android 7.0) Steps to Reproduce: 1. Navigate https://m.ugc.fr/films 2. Tap the "Add to Home Screen" (PWA) button. 3. Tap "Add to Home Screen" button. 4. Observe behavior. **Expected Behavior:** PWA is created on Home Screen. **Actual Behavior:** PWA is not created on Home Screen. Note: Not reproducible on Chrome (Mobile) 64.0.3282.137. An issue on Webcompat.com is available https://github.com/webcompat/web-bugs/issues/15615.
Comment 1•6 years ago
|
||
The link for the manifest is https://m.ugc.fr/img/favicon/manifest.json ```http HTTP/1.1 200 OK Accept-Ranges: bytes Access-Control-Allow-Credentials: true Age: 0 Connection: keep-alive Content-Encoding: gzip Content-Type: application/json Date: Mon, 26 Feb 2018 05:30:12 GMT Last-Modified: Fri, 16 Feb 2018 15:17:36 GMT Server: UGC Transfer-Encoding: chunked Vary: Accept-Encoding { "background_color": "#ffffff", "display": "standalone", "icons": [ { "sizes": "192x192", "src": "/android-chrome-192x192.png", "type": "image/png" } ], "name": "App", "theme_color": "#ffffff" } ``` The "start_url" parameter is missing. The fact that the Add to Home Screen fails silently is not necessary a good way to fail.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 4•6 years ago
|
||
Also the issue it's reproducible on https://partyquizzes.com on Beta 62.0b11 and Nightly (63.0a1 2018-07-25) Devices: Motorola Nexus 6 (Android 7.1.1), Samsung Galaxy S8 (Android 8.0) and HTC Desire 820 (Android 6.0.1).
Note that the manifest at the time of this occurring on https://partyquizzes.com is as follows: { "short_name": "Party Quizzes", "name": "Party Quizzes", "icons": [ { "src": "icon.svg", "sizes": "512x512 264x264 192x192 64x64 32x32 24x24 16x16", "type": "image/svg" } ], "start_url": "./", "display": "standalone", "theme_color": "#2a70db", "background_color": "#ffffff" } Note that the `start_url` here is not missing, and I don't really see what else might be problematic here. (Even though it's `./` above, it's also failing when it was just `/`.) Tested on Firefox for Android 61.0, and Firefox for Android Nightly (63.0a1 2018-07-25). Device: Fairphone 2 (Android 6.0.1 without Google Mobile Services). .
Comment 6•6 years ago
|
||
Re-triaging per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195 Needinfo :susheel if you think this bug should be re-triaged.
Comment 7•6 years ago
|
||
I can confirm this issue in the latest version of NIghtly 64.0a1 (2018-10-11) on OnePlus 5T (Android 8.1.0)
Comment 8•5 years ago
|
||
Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.
Comment 9•5 years ago
|
||
See bug 1547409. Migrating whiteboard priority tags to program flags.
Comment 10•4 years ago
|
||
I'm also seeing this on a Huawei Mate 30 Pro.
Tapping the 'Add to home screen' icon opens a dialog with a description of the web site/app, and a blue '+ ADD TO HOME SCREEN' button, but tapping the button does nothing...no icon appears on the phone's home screen.
If I tap the menu icon (top right, annoyingly), then 'Page', then 'Add Page Shortcut', then I get an icon on my home screen.
Comment 11•4 years ago
|
||
I've just looked into this a bit more with 79.0.5 (build #2015758619), which is the 'new' Firefox.
The '+' icon has gone from the URL bar, but there is now an 'Install' option on the menu. Tapping that causes an icon to appear on the homescreen, with an appropriate icon, but launching it from homescreen results in a blank screen.
When I look at it in the ff dev tools, I see that it isn't open on any URL, just 'about:blank'...nothing else.
If I enter a URL in the dev tools, my PWA loads and runs as expected (getting things from service worker caches/etc). Application/manifest looks correct (including start_url).
Comment 12•4 years ago
|
||
Bug in Comment 11 is likely a variation of Bug 1641715. The rest of this bug is not relevant anymore since we completely re-wrote the frontend.
Comment 13•4 years ago
|
||
Indeed, airhorner now seems to install and run just fine (on Huawei Mate 30 Pro).
Updated•3 years ago
|
Description
•