https://github.com/florent37/kotlinnativesample
Kotlin Native app working on Android & iPhone
https://github.com/florent37/kotlinnativesample
android ios iphone jvm kotlin ktor native swift xcode
Last synced: 11 months ago
JSON representation
Kotlin Native app working on Android & iPhone
- Host: GitHub
- URL: https://github.com/florent37/kotlinnativesample
- Owner: florent37
- License: apache-2.0
- Created: 2018-10-31T10:57:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-12T16:29:35.000Z (over 7 years ago)
- Last Synced: 2025-04-15T22:53:36.753Z (11 months ago)
- Topics: android, ios, iphone, jvm, kotlin, ktor, native, swift, xcode
- Language: Kotlin
- Homepage: https://medium.com/@champigny.florent/my-first-experience-with-kotlin-native-988e96f26657
- Size: 1000 KB
- Stars: 120
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KotlinNative Sample
Sample project for my Medium Story : **My first experience with kotlin native**
[**My first experience with kotlin native**](https://medium.com/@champigny.florent/my-first-experience-with-kotlin-native-988e96f26657)
[](https://www.github.com/florent37/KotlinNativeSample)
# How to build
Just run
```
./gradlew build
```
It will generate kotlin `common` module implementation for Android/JVM and for iOS/Native
# XCode project
Inside the `appios/` directory you'll find the xcode workspace, bound to the kotlin-native framework generated from the `common` module
Open the xcode project to generate the iPhone app.
[](https://www.github.com/florent37/KotlinNativeSample)
# Android project
Inside the `android/` directory you'll find the android app code
Add an android configuration on your IDE to push the application to your phone.
[](https://www.github.com/florent37/KotlinNativeSample)