Files
tiennm99 dab4f7e48c feat: migrate to Capacitor wrapper for fully-offline Android
Replace the native Kotlin/Compose port with a Capacitor 8 wrapper around
the upstream loto SvelteKit PWA. Loto is consumed as a git submodule and
its static build is bundled into the APK at sync time. The wrapper has
no INTERNET permission, so fully offline is enforced rather than
conventional.

- loto/ submodule pinned to dfb1c1e
- android/ scaffolded by cap add android; signing wired via env vars
- All 184 voice MP3s + service worker bundled in assets/public/
- CI checkouts submodule, runs npm build, then Gradle inside android/
- Native port preserved in git history at fe52232 and 9a35686
2026-05-10 02:03:16 +07:00

22 lines
687 B
JSON

{
"name": "loto-android",
"version": "0.1.0",
"private": true,
"description": "Capacitor wrapper that bundles tiennm99/loto into a fully-offline Android APK.",
"scripts": {
"build:loto": "npm --prefix loto ci && npm --prefix loto run build",
"sync": "cap sync android",
"build": "npm run build:loto && npm run sync",
"open": "cap open android",
"assemble:debug": "cd android && ./gradlew :app:assembleDebug",
"assemble:release": "cd android && ./gradlew :app:bundleRelease :app:assembleRelease"
},
"devDependencies": {
"@capacitor/cli": "^8.3.3"
},
"dependencies": {
"@capacitor/android": "^8.3.3",
"@capacitor/core": "^8.3.3"
}
}