Skip to content

KarelHudera/Space_Trace

Repository files navigation

Space_Trace

This is a Compose Multiplatform project targeting Android, iOS, Web, Desktop.

Platforms

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 UI tests on the connected device: ./gradlew :composeApp:connectedDebugAndroidTest

Desktop

Run the desktop application: ./gradlew :composeApp:run Run desktop UI tests: ./gradlew :composeApp:jvmTest

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

JS Browser (Experimental)

Run the browser application: ./gradlew :composeApp:jsBrowserDevelopmentRun --continue Run browser UI tests: ./gradlew :composeApp:jsBrowserTest

Learn more about Kotlin Multiplatform, Compose Multiplatform, Kotlin/Wasm

%%{
  init: {
    'theme': 'neutral'
  }
}%%
flowchart TB
    Repository <--> ViewModel
    View --> Intent
    Intent -->|Interprete| Action
    State -->|Render| View

    subgraph ViewModel
        Action -->|Process| Result
        Result -->|Reduce| State
    end
Loading

About

Space Trace is a Compose Multiplatform (CMP) application targeting Android, iOS, desktop (Windows, macOS, Linux), and web (JS). It provides users with up-to-date information on astronomical events, rocket launches and space missions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages