Kotlin Multiplatform: One Codebase for Android and iOS
- Level: Intermediate
- Duration: 6 weeks
- Category: Mobile App Development
Share your business logic between Android and iOS with Kotlin Multiplatform. Set up a shared module, handle networking, storage and concurrency once, and keep each platform's own interface.
What you will learn
- Set up a Kotlin Multiplatform project from scratch
- Share networking, storage and business logic across platforms
- Keep native UI with Jetpack Compose and SwiftUI
- Test shared code once instead of twice
- Ship a working app to both stores
Topics covered
- Kotlin Multiplatform setup
- Shared modules
- Expect and actual
- Ktor networking
- SQLDelight storage
- Coroutines and flows
- Dependency injection
- Jetpack Compose UI
- SwiftUI basics
- Testing shared code
- Build and release