Upgrade to Pro — share decks privately, control downloads, hide ads and more …

KMP & CMP 101 for Shipaton 2026 (Online event)

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

KMP & CMP 101 for Shipaton 2026 (Online event)

Avatar for Márton Braun

Márton Braun

August 26, 2026

More Decks by Márton Braun

Other Decks in Programming

Transcript

  1. One codebase • Write it once Shared UI • Review

    it once • Bugfix it once • Always in sync Shared Logic
  2. Ecosystem Standard library kotlinx.coroutines DataStore key-value store kotlinx.datetime Room database

    kotlinx.serialization ViewModel Ktor networking Paging by JetBrains by Google
  3. Access native APIs easily Common expect fun getPlatform(): String Desktop

    actual fun getPlatform(): String = "Java ${System.getProperty("java.version")}" Android actual fun getPlatform(): String = "Android ${Build.VERSION.SDK_INT}" iOS Web actual fun getPlatform(): String = "iOS ${UIDevice.currentDevice.systemVersion}" actual fun getPlatform(): String = "Wasm ${window.navigator.useragent}"
  4. Latest iOS goodies • Swift Export • SPM import •

    Parallel rendering • Truly native text fields