Skip to content

Kotlin/kmm-basic-sample

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

* Upgraded dependencies
Moved Android to v33
Moved iOS to v14.0
Moved app code from UIKit to fully SwiftUI
962f056

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
June 27, 2023 15:58
June 27, 2023 15:58
September 24, 2018 19:56
May 28, 2018 12:17
August 31, 2020 17:41
August 31, 2020 16:37
August 31, 2020 16:37

Kotlin Multiplatform Mobile Sample

This is a Kotlin Multiplatform Mobile (KMM) Project. It includes iOS and Android applications with a native UI and a module with code shared on iOS and Android.

Features

This sample demonstrates basic KMM features:

  • Using platform-specific APIs with the expect/actual mechanism (see Platform.kt)
  • Tests for Shared Module (see CalculatorTest.kt, iosTest.kt, androidTest.kt)

How to use

With the KMM 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.