Our great sponsors
-
Decompose
Kotlin Multiplatform lifecycle-aware business logic components (aka BLoCs) with routing (navigation) and pluggable UI (Jetpack Compose, SwiftUI, JS React, etc.)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Now for KMM, it is very much an alpha product even though many companies have found success in its use. The gradle build configuration can be very tricky to do unless you know what you're doing and the templates in intellij are rather limited at the moment of what you can setup in a new project. Kotlin native multithreading is still a rather complicated topic if that is something you need to be stable, but there is an open issue to address this and experimental branches you can use. Now the positive side to KMM is the ability to share logic between every platform and just needing to implement each UI natively. There are also great architecture solutions out there like Decompose which allows you to write a very large portion of your app in kotlin.
Now for KMM, it is very much an alpha product even though many companies have found success in its use. The gradle build configuration can be very tricky to do unless you know what you're doing and the templates in intellij are rather limited at the moment of what you can setup in a new project. Kotlin native multithreading is still a rather complicated topic if that is something you need to be stable, but there is an open issue to address this and experimental branches you can use. Now the positive side to KMM is the ability to share logic between every platform and just needing to implement each UI natively. There are also great architecture solutions out there like Decompose which allows you to write a very large portion of your app in kotlin.
I probably set up the 1st example repo of KMM on the internet, https://github.com/Albert-Gao/kotlin-native-mobile-multiplatform-example
Related posts
- Now in Android - a new, open source, real-world sample app
- A small movie project using Jetpack Compose, Hilt based on modern Android tech stacks.
- Performance Impact Analysis of Gradle 8.7 in Android Projects
- Jetpack Compose Mastery Part 2: Advanced Tools and Resources for Mastering Compose UI
- Need suggestions for a good expense manager