Travel App demonstrate the use of Compose Multiplatform for developing IOS, Android, MacOS, Window & Web applications using Jetpack Compose 🚀.
Currently, the app looks like this on platforms:
- Kotlin: Programming language
- Kotlin Multiplatform: For building multi-platform applications in the single codebase.
- Compose Resource: Compose Resource is a structured approach for managing and accessing UI resources (such as strings, colors, and images) in Jetpack Compose across multiple platforms. When used in conjunction with libraries like Moko Resources, it allows for a unified and type-safe way to work with localized and platform-specific assets in Kotlin Multiplatform projects. This setup ensures that resources are accessible in a Compose-friendly way across Android, iOS, macOS, the JVM, and JS (Browser), with full support for system localization and consistent design.
- Compose Image Loader: Compose Image library for Kotlin Multiplatform.
- Home screen UI.
- Destination Detail screen UI.
- Favorite Detail screen UI.
- Coil(Image loading from Url).
- Bottom Navigation Menu.
- Compose resources e-g images, strings and fonts.
- Voyager (Navigation).
- Cart Screen Design.
- Gemini Chat Screen Design.
- Support for MacOS, Window, Web.
- CI/CD Configure for IOS, Android, MacOS, Window, Web.
- CI/CD generate artifacts to download
- CI/CD to publish web app on github pages
This Compose Multiplatform project includes:
This is a Kotlin module that contains the common UI/logic for both Android and iOS applications, the code you share between platforms.
This shared module is also where you write your Compose Multiplatform code. In composeApp/src/commonMain/kotlin/App.kt, you can find the shared root @Composable function for your app.
It uses Gradle as the build system. You can add dependencies and change settings in composeApp/build.gradle.kts. The shared module builds into an Android library and an iOS framework.
- Refer to the "Setting up environment" section of this repository for knowing the setup guidelines
- After validating requirements as per the above guide, clone this repository.
- Open this project in Android Studio Electric Eel or newer version.
- Build project 🔨 and see if everything is working fine.
- Run App
- Select "androidApp" as run configuration and you'll be able to run the Android app.
If you want to contribute to this library, you're always welcome!