Files
tetrig/android/twa-manifest.json
tkrmagid 0839705b97 Android(TWA) 앱 패키징 + 재실행 불가 버그 수정
Cloudflare Pages 가 /index.html 을 / 로 308 리다이렉트하는데, 서비스워커가
그 리다이렉트 응답을 캐시해 두면 navigation 요청에 응답할 수 없어(스펙상 금지)
두 번째 실행부터 ERR_FAILED 로 앱이 아예 열리지 않았다.

- sw.js: navigation 은 네트워크 우선 + 캐시된 './' 오프라인 폴백,
  프리캐시는 리다이렉트 플래그 없는 새 Response 로 복사해 저장 (tetrig-v2)
- manifest.webmanifest: start_url 을 './' 로 바꿔 리다이렉트 자체를 회피
- android/: Bubblewrap TWA 프로젝트 (kr.tkrmagid.tetrig, launchUrl '/')
- .well-known/assetlinks.json: 서명 키 SHA-256 등록 → 주소창 없는 전체화면 실행
2026-09-23 04:30:10 +09:00

47 lines
1.3 KiB
JSON

{
"packageId": "kr.tkrmagid.tetrig",
"host": "tetrig.pages.dev",
"name": "TETRIG",
"launcherName": "TETRIG",
"display": "standalone",
"themeColor": "#17161B",
"themeColorDark": "#000000",
"navigationColor": "#000000",
"navigationColorDark": "#000000",
"navigationDividerColor": "#000000",
"navigationDividerColorDark": "#000000",
"backgroundColor": "#17161B",
"enableNotifications": true,
"startUrl": "/",
"iconUrl": "https://tetrig.pages.dev/icon-512.png",
"maskableIconUrl": "https://tetrig.pages.dev/icon-512.png",
"splashScreenFadeOutDuration": 300,
"signingKey": {
"path": "/home/claude/.config/ejclaw/tetrig.keystore",
"alias": "tetrig"
},
"appVersionName": "1.0.0",
"appVersionCode": 1,
"shortcuts": [],
"generatorApp": "bubblewrap-cli",
"webManifestUrl": "https://tetrig.pages.dev/manifest.webmanifest",
"fallbackType": "customtabs",
"features": {},
"alphaDependencies": {
"enabled": false
},
"enableSiteSettingsShortcut": true,
"isChromeOSOnly": false,
"isMetaQuest": false,
"fullScopeUrl": "https://tetrig.pages.dev/",
"minSdkVersion": 21,
"orientation": "portrait",
"fingerprints": [],
"additionalTrustedOrigins": [],
"retainedBundles": [],
"protocolHandlers": [],
"fileHandlers": [],
"launchHandlerClientMode": "",
"displayOverride": [],
"appVersion": "1.0.0"
}