bmsvic
July 20, 2023, 11:10pm
1
I have a PWA web app with icons specified in the manifest:
"icons": [
{
"src": "nsb/images/72.png",
"sizes": "72x72",
"type": "image/png",
"purpose": "any"
},
{
"src": "APPICON.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
},
{
"src": "nsb/images/512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any"
}
]
When I add to home screen my APPICON shows the desired app icon on the iOS home screen but android just displays a generic icon like this:
Does anyone have any suggestions how to display the APPICON
ghenne
July 21, 2023, 12:04pm
2
Tip : If you’re pasting code, html or config files, surround the code with triple back ticks (```), before the first line and after the last one. It will be formatted properly. (We fixed it for you this time)
ghenne
July 21, 2023, 12:08pm
3
What version of Android are you using?
Have you verified that APPICON.png is at the root level of your app?
Here is the official documentation .
bmsvic
July 21, 2023, 10:50pm
4
Thanks George,
Sorry about posting the code incorrectly.
I’m having the same result using Android 9, 10 and 11 on different phones. APPICON.png is definitely in the root folder.
ghenne
July 23, 2023, 2:35pm
5
Would send me the URL of the app? DM is fine - I’d like to try it here.
bmsvic
July 27, 2023, 11:24pm
6
Thanks George,
I seem to have solved the problem.
The APPICON file needs to be the exact size of 144 x 144 pixels. Then it works!
ghenne
July 30, 2023, 7:22pm
7
Yes, that is definitely important!