diff --git a/android/plans/todo.md b/android/plans/todo.md deleted file mode 100644 index f84bd1d..0000000 --- a/android/plans/todo.md +++ /dev/null @@ -1,120 +0,0 @@ -# Lô tô Android — TODO - -## Direction change (2026-05-10) - -Repo migrated from **native Kotlin/Compose port** to a **Capacitor wrapper** -around the upstream `tiennm99/loto` SvelteKit PWA. Native code lives in git -history at commits `9a35686` and `fe52232` — recoverable but no longer the -ship target. - -Reason: maintenance parity. Loto evolves; the wrapper rebuilds and ships -without re-porting features. - -## Done in 2026-05-10 session - -- [x] Migrate to Capacitor wrapper, push to main (commit `dab4f7e`) -- [x] CI green: Node 22 + JDK 21 (commits `95358f2`, `4fde3f1`) — debug APK 4.9 MB -- [x] BlueStacks/emulator compat: ``, WebView debug auto-enabled in debug builds (commit `1ec4863`) -- [x] Optional Play Store auto-publish wired into `release.yml`, gated on `PLAY_SERVICE_ACCOUNT_JSON` (commit `793f009`) - -## P0 — Smoke test on real device - -- [x] CI build-debug workflow assembles APK (validated by run `25610204367`) -- [ ] Sideload the latest artifact onto a real device (API 24, API 31, API 36) and BlueStacks -- [ ] Smoke test cold start: app loads `https://localhost/`, no white flash > 1s -- [ ] Smoke test offline: enable airplane mode, kill app, relaunch — must work -- [ ] Smoke test audio: tap any number → Vietnamese voice plays -- [ ] Verify both voices switch correctly (`hoai-my` ↔ `nam-minh`) - -## P0 — Wrapper-specific concerns - -- [ ] First-launch SW registration: confirm Workbox precaches the bundled audio - (should be idempotent since assets already on-disk, but verify no errors) -- [ ] Back button behavior: Capacitor default closes app — decide whether to - add `App.addListener('backButton', …)` for in-app history navigation -- [ ] Safe-area / status-bar inset: SvelteKit UI may render under the status bar. - Check; add `` plugin if needed -- [ ] Audio focus: WebView `