feat(pwa): pass Samsung Internet install criteria
- index.html: legacy metas Samsung Internet/older Android require to treat the page as installable (mobile-web-app-capable, apple-mobile-web-app-*, application-name) - manifest.json: icons at 48/72/96/144/192/512 plus maskable 192/512 (every file's real pixel size matches the declared sizes), related_applications: [] - icons: derived the new sizes from the existing artwork (PIL, LANCZOS) - README: document the Samsung-specific requirement - VERSION bumped to 2026.11.24.5 Verified with CDP (Chrome + SamsungBrowser UA, 360x800): installabilityErrors [], all 8 icons load with matching dimensions, screenshots served as image/png, no horizontal overflow, service worker controlling the page.
This commit is contained in:
1 parent
084eb7dd8e
commit
ddec75b99e
9 files changed
+41
-3
No files matched your search
@@ -14,7 +14,32 @@
|
||||
"background_color": "#FFFFFF",
|
||||
"categories": ["productivity", "entertainment"],
|
||||
"prefer_related_applications": false,
|
||||
"related_applications": [],
|
||||
"icons": [
|
||||
{
|
||||
"src": "icons/icon-48.png",
|
||||
"sizes": "48x48",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "icons/icon-72.png",
|
||||
"sizes": "72x72",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "icons/icon-96.png",
|
||||
"sizes": "96x96",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "icons/icon-144.png",
|
||||
"sizes": "144x144",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "icons/icon-192.png",
|
||||
"sizes": "192x192",
|
||||
@@ -27,6 +52,12 @@
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "icons/icon-192-maskable.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "icons/icon-512-maskable.png",
|
||||
"sizes": "512x512",
|
||||
|
||||
Reference in new issue
Block a user