Multiplash is a work-in-progress Kotlin Multiplatform app, which uses Unsplash API to show high-quality photos. Multiplash is supposed to have an Android, iOS, and Desktop version. Multiplash attempts to use the latest libraries and tools. As a summary:
- Entirely written in Kotlin.
- UI completely written in Compose Multiplatform.
- Uses Kotlin Coroutines.
- Uses many of the Architecture Components.
Multiplash is a standard Gradle project which can be opened in recent versions of Android Studio or IntelliJ.
- The Android application module is located at android-app/ (
:android-app). - The Desktop application module is located at desktop-app/ (
:desktop-app). To run the Desktop application simply create a run configuration which executes a Gradle commandrun --rerun-tasks.
The iOS application module is located at ios-app/ (:ios-app). The project is setup as a typical Xcode
project. It runs the function MainViewController from (:shared:iosMain) to render the app main screen.
You need to provide a client key for the Unsplash API service:
You can easily create a demo app via the link above and copy the Access Key.
Once you obtain the key, set it in your ~/api.properties:
UNSPLASH_ACCESS_KEY=<insert>