Closed Bug 1376263 Opened 7 years ago Closed 6 years ago

Installation of many Google PWAs fails

Categories

(Firefox for Android Graveyard :: Web Apps (PWAs), defect, P1)

56 Branch
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jovan.gerodetti, Unassigned)

References

Details

When trying to add PWAs like Google Photos or Google Contacts to the home screen, the "installation" fails with this error:

> Failed to install: Could not find valid icon

This happens because installManifest() looks for an icon of the size 144 and Googles manifest doesn't offer this exact size. Google Photos for example offers icons in the sizes, 192, 128, 96 and 64. 

It would be better to look for the size that is closest to what is required and not just abort the installation.
Both Google Photos and Google Contacts can be installed now.
Works for me too on Nightly 60 (2018-02-12). 
Device: Sony Xperia Z5 Premium (Android 6.0.1)
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.