Section 2 of android native implementation
All checks were successful
Deploy to production / deploy (push) Successful in 21s

This commit is contained in:
Torsten Schulz (local)
2026-07-09 08:04:11 +02:00
parent 53becb6630
commit 75b52de282
18 changed files with 402 additions and 18 deletions

34
android/native/README.md Normal file
View File

@@ -0,0 +1,34 @@
# YourPart Native Android
Native Android-App fuer YourPart als paralleler Aufbau zur bestehenden Capacitor-App.
## Entscheidungen
- Pfad: `/android/native`
- Sprache: Kotlin
- UI: Jetpack Compose
- App-ID Debug/Local: `de.yourpart.nativeapp.local.debug`
- App-ID Production Release: `de.yourpart.nativeapp`
- minSdk: 26
- compileSdk/targetSdk: 36
- Flavors: `local`, `staging`, `production`
- Build Types: `debug`, `release`
## Kommandos
```bash
cd android/native
../android/gradlew -p . :app:assembleLocalDebug
../android/gradlew -p . :app:installLocalDebug
./scripts/assemble-local-debug.sh
```
## Emulator-Backend
Der Android-Emulator erreicht den Host-Rechner ueber `10.0.2.2`.
Der `local` Flavor nutzt:
- API: `http://10.0.2.2:2020`
- Socket.IO: `http://10.0.2.2:2020`
- Daemon: `ws://10.0.2.2:2021`