Compass 🧭
GithubReferenceMaven
  • 🧭Compass
  • 🖥️Artifacts
  • 🚗Roadmap
  • Setup
    • 📇All Dependencies
    • 🤖Android / iOS
    • 📱Mixed platforms
  • Geocoding
    • 🌎Geocoding Overview
    • 📈Web API Service
      • Google Maps
      • Mapbox
    • ❓Request a Geocoder API
  • Geolocation
    • 📍Geolocation Overview
    • 🔍Geolocator
    • 🌐Location
    • 📱Android / iOS
    • 🖥️Browser
  • Autocomplete
    • 🔍Autocomplete Overview
    • 🌎Via Geocoding
      • 📱Android / iOS
      • 📈Web API Service
  • Misc
    • 📲Demo
    • 💾Contributing
    • 🔧Compass Reference
Powered by GitBook
On this page
  • Before running
  • Running
  • Manual

Was this helpful?

Edit on GitHub
  1. Misc

Demo

PreviousWeb API ServiceNextContributing

Last updated 1 year ago

Was this helpful?

A demo is available in the /demo folder.

Before running

  • Check your system with

  • Install the

Running

Clone the repository and open it in Android Studio. In the "Run configuration" drop-down you should see the following:

  • demo.composeApp

  • demo.browser

  • demo.desktop

  • demo.ios

Select the target you want and click Run.

Manual

To manually run the demo you can do the following:

Android

To run the application on android device/emulator:

  • open project in Android Studio and run imported android run configuration

To build the application bundle:

  • run ./gradlew :demo:composeApp:assembleDebug

  • find .apk file in demo/composeApp/build/outputs/apk/debug/composeApp-debug.apk

iOS

To run the application on iPhone device/simulator:

  • Open iosApp/iosApp.xcworkspace in Xcode and run standard configuration

📲
KDoctor
Kotlin Multiplatform Mobile plugin