Fix PWA install not available in Chrome (#629)
Resize PWA icons to match their declared dimensions (192x192, 512x512, 180x180), split discouraged "any maskable" icon purpose, and add mobile and desktop screenshots to manifest.json for Chrome's richer install UI.
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 226 KiB After Width: | Height: | Size: 202 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 125 KiB |
|
After Width: | Height: | Size: 127 KiB |
@@ -23,7 +23,7 @@
|
||||
|
||||
<!-- Splash screens for iOS -->
|
||||
<link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
|
||||
<script type="module" crossorigin src="/assets/index-CskDBRt4.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-4rCw-7Dd.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-DOJtH8DG.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -35,7 +35,23 @@
|
||||
"src": "/img/apple-touch-icon.png",
|
||||
"sizes": "180x180",
|
||||
"type": "image/png",
|
||||
"purpose": "any maskable"
|
||||
"purpose": "maskable"
|
||||
}
|
||||
],
|
||||
"screenshots": [
|
||||
{
|
||||
"src": "/img/screenshot-mobile.png",
|
||||
"sizes": "1080x1920",
|
||||
"type": "image/png",
|
||||
"form_factor": "narrow",
|
||||
"label": "Bambuddy on mobile"
|
||||
},
|
||||
{
|
||||
"src": "/img/screenshot-desktop.png",
|
||||
"sizes": "1920x1080",
|
||||
"type": "image/png",
|
||||
"form_factor": "wide",
|
||||
"label": "Bambuddy on desktop"
|
||||
}
|
||||
],
|
||||
"categories": ["utilities", "productivity"],
|
||||
|
||||