feat(mobile): package frontend into native Android APK with Capacitor (camera, cleartext LAN traffic & dynamic server IP)

This commit is contained in:
Carlos Tello
2026-11-03 18:39:15 -03:00
parent e596ca87a4
commit fbfca0e3d6
62 changed files with 2391 additions and 12 deletions
+8 -1
View File
@@ -6,9 +6,16 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"cap:sync": "npm run build && npx cap sync android",
"cap:apk": "npm run build && npx cap sync android && cd android && gradlew assembleDebug",
"cap:open": "npx cap open android"
},
"dependencies": {
"@capacitor/android": "^8.6.0",
"@capacitor/camera": "^8.2.6",
"@capacitor/cli": "^8.6.0",
"@capacitor/core": "^8.6.0",
"@zxing/library": "^0.23.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"