This app demonstrate that how Kotlin Multiplatform Mobile SDK can be used to develop cross platform mobile app that works on both Android and iOS platforms.
Kotlin Multiplatform SDK allows to write cross platform mobile app that runs on Android and iOS platforms. This movie app app is using the common shared module to use business logic. Here, network layer is implemented as a shared module and will be used as follow in Android and iOS projects. KMM is trusted in production by many of the world’s leading companies, including Philips, Netflix, Leroy Merlin, and VMWare.
Android app is build just like another native Android app where the app app module is using the shared module created by KMM project. It will get data from the MovieSDK class that is present in shared module.
- UI - Android UI is designed by using Jetpack Compose.
- Business Logic - Using business logic implemented in shared module.
An iOS app is using the shared module as a regular framework to use business logic.
- UI - iOS app UI is designed by using SwiftUI.
- Business logic - Using business logic implemented in shared module.
The common module being used by both Android and iOS applications. We have implemented network layer in this module which is calling TMDB movie API to get movie data.
- KMM SDK - Kotlin Multiplatform SDK that offers cross platform functionality.
- Kotlin - Official programming language for Android application development by Google.
- Android Material Components - The material UI components for Android, designed and developed by Google.
- Jetpack Compose - Android's modern toolkit for building native UI.
- Swift - A powerful and intuitive programming language for iOS, iPadOS, macOS, tvOS, and watchOS.
- SwiftUI - The declarative way of writing native UI for all apple platforms with the power of Swift.
Android version | iOS version |
---|---|
![]() |
Please create a PR and let's discuss your fix or improvement.