mirror of
https://github.com/tiennm99/loto-android.git
synced 2026-06-08 14:13:10 +00:00
dab4f7e48c
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 atfe52232and9a35686
22 lines
687 B
JSON
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"
|
|
}
|
|
}
|