Sharing and Separation — Design Guidelines for Production Adoption of Compose Multiplatform

Kotlin Multiplatform (KMP) lets you share network communication and domain logic between Android and iOS, while Compose Multiplatform (CMP) further unifies the UI layer. Combining the two enables you to develop most of an app in a single codebase—a major attraction. However, once you step into a real product, “non-shareable areas” inevitably emerge because: - The library or SDK you want to use is not KMP-compatible - You need to call OS-specific APIs directly - You want to craft some screens with rich native UI In this session, Android and iOS engineers will co-present: - Which parts of the code should be shared and which should be separated between platforms - Design and implementation patterns that balance development speed with user experience All topics are illustrated with concrete examples from a product that adopted CMP and released both Android and iOS apps in just under six months. Planned topics: - Front lines in sharing How far you can unify code by leveraging CMP + KMP-ready libraries - Separation techniques - DI design across Kotlin × Swift - Safe integration of SDKs that do not support KMP - Hybrid implementations of CMP + native UI - Pitfalls and workarounds viewed from both platform perspectives We will share guidelines for identifying the “non-shareable” areas you will inevitably encounter when adopting CMP and for isolating code where necessary. (Translated by the DroidKaigi Committee)

  • Kenta Enomoto STORES, Inc.

  • naberyo STORES, Inc.


Summary

  • Dates 2025.09.11 / 12:20 ~ 13:00 (40min)
  • Place Koala
  • Language Japanese

Intended audience

- Anyone interested in adopting Kotlin Multiplatform or Compose Multiplatform - Those who want to know how much code can actually be shared with Kotlin Multiplatform or Compose Multiplatform - Developers who have already introduced Kotlin Multiplatform or Compose Multiplatform but are stalled by platform-specific implementation issues

Android is a trademark of Google LLC. The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License. Android, Google Play and the Google Play logo are trademarks of Google LLC.

© 2014- DroidKaigi Committee