An example usage of kotlin multiplatform with Android, iOS and Web supported by a Ktor backend.
The applications displays a list of conferences retrieved from the backend (https://github.com/IanArb/conferencesKtor).
Inspired by John Reilly's starter pack (https://github.com/joreilly/PeopleInSpace)
This repository accepts pull requests and all contributions are welcome!
This project can be used with Android Studio 4.2 Canary for Jetpack Compose and XCode v11.3+ for iOS.
You can run the Android sample app with your Run/Debug configurations deployed to emulator or physical device.
To enable the google maps view you'll need to add your own google maps API key in your local.properties file in the root of your project as follows:
sdk.dir= YOUR_SDK_DIR
google.map.key = YOUR_API_KEY
Instructions to get an API key can be found here
Then re-sync the gradle project and build the project.
./gradlew build
You will need Xcode v11.3+ installed and will need to target iOS 13. SwiftUI only supports iOS 13 and above.
In Xcode open the iOSApp xcworkspace and build the app. The common library will be imported as a framework.
You can simply run the following command to execute the Kotlin react/js app on localhost port 8080.
./gradlew :web:browserDevelopmentRun --continuous
--continuous flag enables react hot reload for code changes.