feat: Android APP V1 - Experimental Alpha

This commit is contained in:
2026-06-05 07:40:25 +02:00
parent bf4e6891d1
commit 9a1305f976
179 changed files with 8031 additions and 120 deletions

25
tools/build-android-apk.sh Executable file
View File

@@ -0,0 +1,25 @@
#!/usr/bin/env bash
# Build a debug Android APK for the Capacitor shell.
#
# Prerequisites (CI installs these automatically):
# - Node.js 22 + root npm dependencies (`npm ci`)
# - JDK 21 (JAVA_HOME)
# - Android SDK with platform 36 + build-tools (ANDROID_SDK_ROOT / ANDROID_HOME)
#
# Output:
# toju-app/android/app/build/outputs/apk/debug/app-debug.apk
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT"
npm run bundle:rnnoise
npm run build:prod
cd toju-app
npx cap sync android
cd android
chmod +x gradlew
./gradlew assembleDebug --no-daemon --stacktrace