mirror of
https://github.com/tiennm99/loto.git
synced 2026-10-14 20:17:28 +00:00
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 e7fb3d0 and 8b8d46e
This commit is contained in:
1 parent
0d3d822b36
commit
7840aa419d
315 files changed
+2672
-4836
No files matched your search
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user