https://github.com/melod1n/ovs-kmp
OVS KMP App for Android, JVM, iOS, Wasm
https://github.com/melod1n/ovs-kmp
android cmp compose ios jvm kmp wasm
Last synced: 2 months ago
JSON representation
OVS KMP App for Android, JVM, iOS, Wasm
- Host: GitHub
- URL: https://github.com/melod1n/ovs-kmp
- Owner: melod1n
- License: gpl-3.0
- Created: 2024-08-03T18:18:04.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-09-28T20:01:14.000Z (5 months ago)
- Last Synced: 2025-09-28T21:22:12.453Z (5 months ago)
- Topics: android, cmp, compose, ios, jvm, kmp, wasm
- Language: Kotlin
- Homepage: https://ovs.mlgt.ru
- Size: 223 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# Compose Multiplatform Application
## Before running!
- check your system with [KDoctor](https://github.com/Kotlin/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`
### 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](https://plugins.jetbrains.com/plugin/14936-kotlin-multiplatform-mobile) for Android Studio
Run iOS simulator UI tests: `./gradlew :composeApp:iosSimulatorArm64Test`
### Wasm Browser (Alpha)
Run the browser application: `./gradlew :composeApp:wasmJsBrowserDevelopmentRun --continue`
Run browser UI tests: `./gradlew :composeApp:wasmJsBrowserTest`