Unsplash
Unsplash copied to clipboard
Unsplash application for Android, Wear OS, iOS, Desktop and Web. Built using Kotlin Multiplatform and Compose
Unsplash
Unsplash application for Android, WearOS, Desktop, iOS and Web. Built using Kotlin Multiplatform and Compose with ❤️
Set up the environment
You're going to need Android Studio (at least Arctic Fox version) with the KMM plugin installed.
Running the apps
-
Clone the project locally
git clone https://github.com/cmota/Unsplash.git
-
Open project with Android Studio
-
Wait for project to synchronise
Android
To compile and install the Android application run:
./gradlew androidApp:installDebug
Android Wear
To compile and install the Android Wear application run::
./gradlew androidWearApp:installDebug
Desktop
To compile and install the Desktop application run:
./gradlew desktopApp:run
iOS
To compile and install the iOS application use Xcode
iOSCompose
To compile and install the iOS application built with Compose run:
./gradlew iosApp-compose:iosDeployIPhone8Debug
Web
To compile and run the web application run:
./gradlew webApp:jsBrowserRun
Web WASM
To compile and run the web application run:
./gradlew wasmBrowserRun
Libraries
- ktor
- kotlinx.serialization
- PreCompose
- Accompanist-Android
- Accompanist-Desktop
- compose-imageloader
- touchlab-image
touchlab-image, uses Coil and image-loader libraries. It's adapted from DroidKotlin8 app, made by Touchlab
Screens
Android
Android Wear
Desktop
iOS
iOS Compose
Web
Web WASM