The shared Module vs the App Modules
How the shared library plugs into Android and iOS apps.
Two Apps, One Brain
A KMP project has two app modules plus one shared module. The shared module is the brain both apps borrow from. 🧠
What the shared Module Is
The shared module is a Kotlin library, not an app. It holds logic you want to write once and reuse on Android and iOS.
All lessons in this course
- The shared Module vs the App Modules
- commonMain, androidMain & iosMain
- Reading the shared build.gradle.kts
- Where Tests Live: commonTest & Friends