A sample application for iOS and Android written using Kotlin Multiplatform Mobile (KMM).
Android | iOS |
---|---|
![]() |
![]() |
- Both Android and iOS apps use the MVVM pattern for code architecture.
- Both apps frontend (UI) is written in their respective platform native languages.
- iOS app frontend is written in
Swift
usingSwiftUI
- Android app frontend is written in
Kotlin
(Jetpack Compose version coming soon)
- iOS app frontend is written in
- Apps common logic is written in Kotlin Multiplatform Mobile
- Networking Code which uses SpaceX API to fetch launches list.
- Database code to save and fetch launches, for caching.
The app makes use of the following libraries
- Ktor for networking
- SqlDelight for database caching.
- Kotlin Coroutines for asynchronous code.
- Kotlin Serialization for JSON parsing.
- Jetpack set of libraries (ViewModel, Activity-ktx, Fragment-ktx, Lifecycle, LiveData etc.)
Note: This application is written by me, from scratch, but is based on the official JetBrains Tutorial.