Kotlin Multiplaform example app for iOS and Android
This is a sample application using Kotlin Multiplatform for Android and iOS. Has a simple business logic implemented in Kotlin and used by the two native application. The UI is implemented on both platforms.
You can import the whole project into IntelliJ IDEA and the iOS app to Xcode (Android Studio is not working with this setup, but it's possible to work on the Android side from IntelliJ).
To build the project from IntelliJ IDEA: 1. If Gradle is missing the Android SDK directory, you can create
local.propertiesfile in the project's root directory with the following content:
To run the iOS app from Xcode: 1. Call
pod installin terminal at root/iosApp. 2. Open the client-mpp.xcworkspace from the project root/client-mpp/ios