Kotlin Multiplatform is in Beta. It is almost stable, but migration steps may be required in the future. We'll do our best to minimize any changes you have to make.
Kotlin Multiplatform technology simplifies the development of cross-platform projects. The Kotlin applications will work on different operating systems like iOS, Android, macOS, Windows, Linux, watchOS, and others.
One of the major Kotlin Multiplatform use cases is sharing code between mobile platforms. You can share application logic between iOS and Android apps and write platform-specific code only when you need to implement a native UI or work with platform APIs.
Compose Multiplatform, a JetBrains' declarative UI framework based on Kotlin and Jetpack Compose, gives you the option to push the sharing capabilities of Kotlin Multiplatform beyond application logic. It allows you to implement your user interface once and then use it for all the platforms you target – iOS, Android, desktop, and web.
- Check out our Kotlin Multiplatform Mobile Is in Beta video to learn about the current state and future plans for the technology.
- See how different companies are already using Kotlin for cross-platform app development in production.
- Try Compose Multiplatform, JetBrains' declarative UI framework based on Kotlin and Jetpack Compose to share UIs among iOS, Android, desktop, and web.
Get to know Kotlin Multiplatform and create a mobile app that works on both Android and iOS by completing these steps:
This tutorial describes how to share application logic between iOS and Android using Kotlin Multiplatform. To learn about the full capabilities of the technology, check out other use cases.
Start by setting up an environment for mobile development.
If you want to convert your existing Android project into a cross-platform app, follow these steps to make it work on iOS: