android-kmp-shared

Installation
SKILL.md

Android Kotlin Multiplatform (KMP) ๐ŸŒ๐Ÿค

Professional patterns for sharing code between Android and iOS using the next-generation Kotlin Multiplatform technology.

โšก When to Use

  • Shared Business Logic: Centralizing ViewModels, Use Cases, and Domain Models.
  • Data Layer Sharing: Using Ktor (Network) and SQLDelight (Database) across platforms.
  • Modularization: Creating a cross-platform library module.
  • Migration: Moving from 100% native to shared logic.
  • Validation: Building one logic for both apps (e.g., Auth, Calculations).

๐Ÿ—๏ธ The Multiplatform Architecture

  • commonMain: The heart of the app. Pure Kotlin code shared by all platforms.
  • androidMain: Platform-specific implementation for Android.
  • iosMain: Platform-specific implementation for iOS (via Kotlin/Native).

๐Ÿ› ๏ธ Essential Shared Tools

Installs
8
GitHub Stars
11
First Seen
Aug 6, 2026