Skip to content

Commit 53f57d7

Browse files
jesselpalmerpetebacondarwin
authored andcommitted
feat(aio): add iphone pwa features
1 parent 2b1de07 commit 53f57d7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

aio/src/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
sizes="192x192">
2020
<link rel="icon" type="image/png" href="assets/images/favicons/favicon-16x16.png"
2121
sizes="16x16">
22+
<link rel="apple-touch-icon" sizes="144x144" href="assets/images/favicons/apple-touch-icon-144x144.png">
23+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/images/favicons/apple-touch-icon-144x144.png">
2224

2325
<!-- NOTE: These need to be kept in sync with `ngsw-manifest.json`. -->
2426
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
@@ -28,6 +30,9 @@
2830

2931
<link rel="manifest" href="pwa-manifest.json">
3032
<meta name="theme-color" content="#1976d2">
33+
<meta name="apple-mobile-web-app-capable" content="yes">
34+
<meta name="apple-mobile-web-app-status-bar-style" content="translucent">
35+
3136

3237
<!-- Google Analytics -->
3338
<script>

aio/src/pwa-manifest.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
"src":"assets/images/favicons/favicon-194x194.png",
77
"sizes": "194x194 512x512",
88
"type": "image/png"
9+
},
10+
{
11+
"src":"assets/images/favicons/apple-touch-icon-144x144.png",
12+
"sizes": "144x144",
13+
"type": "image/png"
914
}
1015
],
1116
"start_url": "/?utm_source=homescreen",

0 commit comments

Comments
 (0)