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.
This commit is contained in:
Bkk1234 committed 2026-11-24 15:03:47 +07:00
1 parent 634dc3ae3c
commit 084eb7dd8e
7 files changed
+38 -5

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
กติกา: bump VERSION เฉพาะเมื่อแก้ไฟล์นี้หรือรายการ PRECACHE
เนื้อหา (HTML/CSS/JS/JSON) ใช้ network-first จึงไม่ต้อง bump */
const VERSION = "2026.11.24.2";
const VERSION = "2026.11.24.4";
const CACHE = `hobbypj-${VERSION}`;
const PRECACHE = [