This is a Kotlin Multiplatform (KMP) Project. It includes iOS and Android applications with a native UI and a module with code shared on iOS and Android.
This sample demonstrates basic KMP features:
Platform.kt
)CalculatorTest.kt
, iosTest.kt
, androidTest.kt
)With the KMP plugin for Android Studio you can run, test, and debug shared code on both platforms without switching IDEs. Run and debug the application by selecting the corresponding configuration in the Run configuration menu. Run and debug shared module tests by pressing the gutter icon on a test class or method.