Skip to content

Commit 99cdbf4

Browse files
committed
Fix home screen icon not displaying on Firefox for Android
Add a 48x48 icon (preferred by Firefox Android for home screen shortcuts) and set explicit purpose: "any" on non-maskable icons, which Firefox Android requires to properly select an icon for the home screen. https://claude.ai/code/session_01L8ZJf9dRQM9bHU84USeRrE
1 parent 5603f1f commit 99cdbf4

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

public/icons/icon-48.png

2.07 KB
Loading

public/manifest.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,23 @@
77
"theme_color": "#8B2252",
88
"background_color": "#ffffff",
99
"icons": [
10+
{
11+
"src": "/icons/icon-48.png",
12+
"sizes": "48x48",
13+
"type": "image/png",
14+
"purpose": "any"
15+
},
1016
{
1117
"src": "/icons/icon-192.png",
1218
"sizes": "192x192",
13-
"type": "image/png"
19+
"type": "image/png",
20+
"purpose": "any"
1421
},
1522
{
1623
"src": "/icons/icon-512.png",
1724
"sizes": "512x512",
18-
"type": "image/png"
25+
"type": "image/png",
26+
"purpose": "any"
1927
},
2028
{
2129
"src": "/icons/icon-maskable-512.png",

0 commit comments

Comments
 (0)