Section 2 of android native implementation
All checks were successful
Deploy to production / deploy (push) Successful in 21s
All checks were successful
Deploy to production / deploy (push) Successful in 21s
This commit is contained in:
34
android/native/README.md
Normal file
34
android/native/README.md
Normal 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`
|
||||
Reference in New Issue
Block a user