Files
hobbypj-contents/manifest.json
T
Bkk1234 084eb7dd8e feat(pwa): meet Android install-quality criteria (screenshots, absolute scope)
Samsung/Chrome on Android 16 refused to offer installation. manifest.json now has
absolute start_url/scope ('/'), prefer_related_applications:false, two screenshots
(narrow 1080x1920 + wide 1920x1080 captured from production) and app shortcuts.

Verified with CDP: Page.getInstallabilityErrors -> [], Page.getAppManifest ->
errors [] with 2 screenshots / 2 shortcuts, screenshots served as image/png, service
worker controlling the page. VERSION bumped to 2026.11.24.4.
2026-11-24 15:03:47 +07:00

68 lines
1.9 KiB
JSON

{
"id": "/",
"name": "โปรเจคอดิเรกของเรา",
"short_name": "โปรเจคอดิเรก",
"description": "รายชื่อโปรเจคอดิเรกของเรา เลือกโปรเจคที่อยากดูได้เลย",
"lang": "th",
"dir": "ltr",
"start_url": "/",
"scope": "/",
"display": "standalone",
"display_override": ["standalone", "minimal-ui"],
"orientation": "any",
"theme_color": "#8A4722",
"background_color": "#FFFFFF",
"categories": ["productivity", "entertainment"],
"prefer_related_applications": false,
"icons": [
{
"src": "icons/icon-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
},
{
"src": "icons/icon-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any"
},
{
"src": "icons/icon-512-maskable.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"screenshots": [
{
"src": "icons/screenshot-mobile.png",
"sizes": "1080x1920",
"type": "image/png",
"form_factor": "narrow",
"label": "หน้ารายชื่อโปรเจค พร้อมช่องค้นหา"
},
{
"src": "icons/screenshot-wide.png",
"sizes": "1920x1080",
"type": "image/png",
"form_factor": "wide",
"label": "หน้ารายชื่อโปรเจคบนจอกว้าง"
}
],
"shortcuts": [
{
"name": "หน้าแรก",
"short_name": "หน้าแรก",
"url": "/#/",
"description": "กลับไปหน้ารายชื่อโปรเจค"
},
{
"name": "แก้ไขรายการ",
"short_name": "แก้ไข",
"url": "/#/admin",
"description": "เปิดหน้าหลังบ้าน"
}
]
}