Unsplash
Unsplash application for Android, Desktop 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 change Kotlin version the /build.gradle.kts file to 1.5.21 and run:
./gradlew androidWearApp:installDebug
Desktop
To compile and install the Desktop application run:
./gradlew desktopApp:run
Web
To compile and run the web application run:
./gradlew webApp:jsBrowserRun