- 🇪🇸Spain enchufe Spain
Rerolled patch #9 for version 2.x, passes the Google Lighthouse test.
Most of all is ok but one issue is:
"A maskable icon ensures that the image fills the entire shape without being letterboxed when installing the app on a device."
To inderstand the message, goto DevTools of LightHouse
It says:
In order to pass the audit:
A web app manifest must exist.
- The web app manifest must have an icons array.
- The icons array must contain one object with a purpose property, and the value of that purpose property must include maskable.
I understand that in icons array, "purpose" attribute should be added with value "maskable", for each icon.
none
none
In PWA module, open src/Manifest.php file.
From line 65, add this line for each kind of image:
line 69 add $manifest_data['icons'][0]['purpose'] = 'maskable';
line 74 add $manifest_data['icons'][1]['purpose'] = 'maskable';
line 79 add $manifest_data['icons'][2]['purpose'] = 'maskable';
none
Needs work
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Rerolled patch #9 for version 2.x, passes the Google Lighthouse test.