Skip to content

proj-overdrive/cruiser

Repository files navigation

cruiser

Client side application of SpotOn.

Build and Run

Please complete this tutorial to ensure you have the correct environment for building and running the project.

Next you need a private token from mapbox. Follow these instructions to configure this for Android, but generally create a token with the Downloads:Read permission and add it to your gradle.properties file.

 echo "MAPBOX_DOWNLOADS_TOKEN=<your_token>" >> ~/.gradle/gradle.properties

For iOS, follow these instructions but generally add the following to your ~/.netrc file.

 machine api.mapbox.com
 login mapbox
 password <your_token>

Assuming you have the correct environment and the token, you can build and run the project from Android Studio.

Compose Multiplatform Project Structure

This is a Kotlin Multiplatform project targeting Android, iOS, Web.

  • /composeApp is for code that will be shared across your Compose Multiplatform applications. It contains several subfolders:

    • commonMain is for code that’s common for all targets.
    • Other folders are for Kotlin code that will be compiled for only the platform indicated in the folder name. For example, if you want to use Apple’s CoreCrypto for the iOS part of your Kotlin app, iosMain would be the right folder for such calls.
  • /iosApp contains iOS applications. Even if you’re sharing your UI with Compose Multiplatform, you need this entry point for your iOS app. This is also where you should add SwiftUI code for your project.

Learn more about Kotlin Multiplatform, Compose Multiplatform, Kotlin/Wasm

We would appreciate your feedback on Compose/Web and Kotlin/Wasm in the public Slack channel #compose-web. If you face any issues, please report them on GitHub.

You can open the web application by running the :composeApp:wasmJsBrowserDevelopmentRun Gradle task.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages