Google announced support for Kotlin Multiplatform (KMP) at Google I/O 2024, providing official guidelines for developing cross-platform apps using Kotlin language.
Kotlin Multiplatform, a JetBrains project, enables Kotlin to be used for app development across Android, iOS, Web, Desktop, and Server platforms. The concept is to leverage Kotlin-based code from modern Android apps for use on other platforms, allowing for a single write and widespread usability, with UI adaptation managed by each platform’s framework.
KMP divides tasks into Core Kotlin, developed by JetBrains, supporting multiple platforms, while UI frameworks like Compose Multiplatform and other libraries may have limited support. Google’s contribution includes expanding compatibility of popular Jetpack library for Android to work seamlessly with KMP, now supporting iOS as well. Additionally, tools like Android Gradle Plugin now officially collaborate with KMP.
Beyond platform development, Google revealed that Google Docs is now written using KMP, unifying app logic and utilizing KMP for Android, iOS, and Web apps, with future expansion planned for other apps in the Google Workspace suite.
Source: Android Developers Blog
TLDR: Google introduces Kotlin Multiplatform support at Google I/O 2024, enabling cross-platform app development using Kotlin across different platforms with increased tool and library compatibility.
Leave a Comment