/KotlinNativeSample

Kotlin Native app working on Android & iPhone

Primary LanguageKotlinApache License 2.0Apache-2.0

KotlinNative Sample

Sample project for my Medium Story : My first experience with kotlin native

My first experience with kotlin native

screen

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.

screen

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.

screen