And That, Folks, is How We Shared Code Between Android, iOS and the Backend
summary
Kotlin Multiplatform is used to share DTOs and business logic across Android, iOS and a Ktor backend, compiled into a jar/aar for JVM and an XCFramework shipped via CocoaPods; networking uses Retrofit on JVM and a custom Alamofire serializer using kotlinx.serialization on iOS; publication is automated with Gradle tasks that push dev and release versions to separate branches; objects are frozen for native threads; this approach starts small with DTOs and works, later expanding to SQLDelight.
AI-written summary · about
chapters (7)
- 0:00Start
- 0:56the Backend
- 1:29Story #1
- 2:48Story #2
- 6:34How to approach
- 10:59Let's start building
- 35:03Conclusions
related talks
36mIntroducing Kotlin Multiplatform in an existing project
26mKotlin Multiplatform in an MVVM World
52mIntroducing Kotlin Multiplatform in an existing project
21mIt's Time for Kotlin Multiplatform Mobile
31mKotlin Multiplatform for iOS: Myths vs Reality
52miOS Architecture with Multiplatform
48mEffective Multiplatform Kotlin Development
52mBuilding apps using Kotlin Native
