Skip to content

Commit c1835dc

Browse files
author
Chris
committed
Fixes to the pwa icons not displaying on the iOS home screen.
1 parent 3ea29fd commit c1835dc

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

public/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,18 @@
88
<meta name="description" content="Track your daily inventory of personal characteristics">
99
<title>Daily Inventory</title>
1010

11+
<!-- Apple-specific meta tags for PWA -->
12+
<meta name="apple-mobile-web-app-capable" content="yes">
13+
<meta name="apple-mobile-web-app-status-bar-style" content="default">
14+
<meta name="apple-mobile-web-app-title" content="Daily Inventory">
15+
<meta name="mobile-web-app-capable" content="yes">
16+
1117
<!-- Favicon -->
1218
<link rel="icon" type="image/x-icon" href="%PUBLIC_URL%/assets/images/icons/favicon.ico">
1319
<link rel="icon" type="image/png" sizes="32x32" href="%PUBLIC_URL%/assets/images/icons/favicon-32x32.png">
1420
<link rel="icon" type="image/png" sizes="16x16" href="%PUBLIC_URL%/assets/images/icons/favicon-16x16.png">
1521
<link rel="apple-touch-icon" href="%PUBLIC_URL%/assets/images/icons/apple-touch-icon.png">
22+
<link rel="apple-touch-icon" sizes="180x180" href="%PUBLIC_URL%/assets/images/icons/apple-touch-icon.png">
1623
<link rel="mask-icon" href="%PUBLIC_URL%/assets/images/icons/icon.svg" color="#000000">
1724
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
1825

public/manifest.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,48 @@
77
"background_color": "#ffffff",
88
"theme_color": "#cfe2ff",
99
"icons": [
10+
{
11+
"src": "assets/images/icons/favicon-16x16.png",
12+
"sizes": "16x16",
13+
"type": "image/png",
14+
"purpose": "any"
15+
},
16+
{
17+
"src": "assets/images/icons/favicon-32x32.png",
18+
"sizes": "32x32",
19+
"type": "image/png",
20+
"purpose": "any"
21+
},
22+
{
23+
"src": "assets/images/icons/favicon-48x48.png",
24+
"sizes": "48x48",
25+
"type": "image/png",
26+
"purpose": "any"
27+
},
28+
{
29+
"src": "assets/images/icons/favicon-64x64.png",
30+
"sizes": "64x64",
31+
"type": "image/png",
32+
"purpose": "any"
33+
},
34+
{
35+
"src": "assets/images/icons/favicon-128x128.png",
36+
"sizes": "128x128",
37+
"type": "image/png",
38+
"purpose": "any"
39+
},
1040
{
1141
"src": "assets/images/icons/favicon-192x192.png",
1242
"sizes": "192x192",
1343
"type": "image/png",
1444
"purpose": "any maskable"
1545
},
46+
{
47+
"src": "assets/images/icons/favicon-256x256.png",
48+
"sizes": "256x256",
49+
"type": "image/png",
50+
"purpose": "any"
51+
},
1652
{
1753
"src": "assets/images/icons/favicon-512x512.png",
1854
"sizes": "512x512",

0 commit comments

Comments
 (0)