Skip to content

kalist28/once-human-helper

Repository files navigation

Once Human Helper

Compose Multiplatform Application (Android / Ios)

Stack

Feature Lib
DI Koin
Navigation Decompose
Design System Compose Cupertino
Network Ktor
Map MapComposeMP
IO kotlinx-io

Other libs:

  • Kotlin
    • Coroutines
    • Serialization
  • Coil
  • Napier

Before running!

  • check your system with KDoctor
  • install JDK 17 or higher on your machine
  • add local.properties file to the project root and set a path to Android SDK there

Android

To run the application on android device/emulator:

  • open project in Android Studio and run imported android run configuration

To build the application bundle:

  • run ./gradlew :composeApp:assembleDebug
  • find .apk file in composeApp/build/outputs/apk/debug/composeApp-debug.apk Run android simulator UI tests: ./gradlew :composeApp:pixel5Check

iOS

To run the application on iPhone device/simulator:

  • Open iosApp/iosApp.xcproject in Xcode and run standard configuration
  • Or use Kotlin Multiplatform Mobile plugin for Android Studio Run iOS simulator UI tests: ./gradlew :composeApp:iosSimulatorArm64Test