Phase 1: minimal Kotlin Android app shows Hub /health
Scaffold the Android Gradle project under android/ mirroring the proven internet_use_control toolchain: Gradle wrapper 8.11.1, AGP 8.7.3, Kotlin 2.0.21, compileSdk/targetSdk 35, Java/Kotlin 17, minSdk 29 (AGENTS.md §9). One Activity calls GET http://192.168.20.13:8788/health off the main thread and renders ok, service, version and every checks value plus the raw body. INTERNET permission and usesCleartextTraffic are declared for the LAN Hub. A failed or non-2xx call renders an explicit error line and never reports success (AGENTS.md §10 rule 4). applicationId au.audasmedia.hub.phone, versionName 0.1.0-phase1. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
5
android/build.gradle.kts
Normal file
5
android/build.gradle.kts
Normal file
@@ -0,0 +1,5 @@
|
||||
// Root build file. The Android application module is :app.
|
||||
plugins {
|
||||
id("com.android.application") version "8.7.3" apply false
|
||||
id("org.jetbrains.kotlin.android") version "2.0.21" apply false
|
||||
}
|
||||
Reference in New Issue
Block a user