The Adventures of Kotlin And Compose through the Multiplatform World
by Carlos Mota
A big topic of this year's droidcon was Kotlin Multiplatform Mobile or “KMM”. As the name suggests, Kotlin Multiplatform is JetBrains answer to cross-platform development of apps (by sharing code between iOS, Android & co). In the last few years we have already seen multiple cross-platform frameworks like Flutter, React Native, Ionic, Xamarin & others. With the exception of Flutter, none of these Frameworks managed to grow a substantial community and “revolutionize” mobile development. Therefore, we’re obviously always a bit sceptical when we hear about a “new cross-platform-thingy”.
According to Carlos, what makes KMM stand out is that it’s an SDK for Kotlin — with which Android Developers are already familiar. Therefore, even if “things go south” and the approach of sharing code doesn’t work out, you can still use the code to create your Android app.
According to Carlos, the current state of KMM is “stable-ish” and can definitely be used. Most of the speakers that were talking about this topic were also already using it in production, e.g. in Apps that are published in the App Stores. Interestingly, most of them were also happy to exchange “Flutter” for “KMM”, even though it has not reached v1.0 yet. Since the topic of KMM was also already discussed by Alain in his Swift Heroes review, it might be worth having a look at it when an opportunity arises.