Manifest.json missing / invalid Icon sizes

I’ve added 512x512 and 144x144 icons in the Discourse settings but the manifest.json only includes one (incorrect) icon size. I have set logo url, logo small url, large icon url, apple touch icon url.

Resulting Manifest.JSON:

{
	"name": "Tallcraft Forum",
	"short_name": "Tallcraft Forum",
	"display": "standalone",
	"orientation": "any",
	"start_url": ".",
	"background_color": "#ffffff",
	"theme_color": "#ffffff",
	"icons": [{
		"src": "/uploads/default/original/1X/cc66cb57005592d19b25b66073b49c55ba020917.png",
		"sizes": "500x500",
		"type": "image/png"
	}]
}

This causes the Google Chrome PWA audit to fail:

1 Like

I know @falco worked on this a bit.

2 Likes

Did you set your 512x512 PNG in the large icon url?

4 Likes

Thanks for the swift reply!
Yes, I’ve set it to a 512x512 PNG.
This one to be precise: https://forum.tallcraft.com/uploads/default/original/1X/cc66cb57005592d19b25b66073b49c55ba020917.png

This is now fixed, you just need to update to latest and we will unconditionally use the size of the image uploaded.

3 Likes

This topic was automatically closed after 4 days. New replies are no longer allowed.