Android / iOS
Dependencies
If you only need to support mobile (Android and iOS) add the following dependencies:
Then you can add them to your build.gradle.kts
:
Geocoding Setup
Geolocation setup
Location permissions are required for using geolocation on Android and iOS. Compass can handle the permission requesting automatically for you.
Android
On Android you don't need to declare any location permission in your manifest since Compass includes those in the geolocation-mobile
artifact.
iOS
On iOS you are required to edit your info.plist
and add the following entry:
If you don't add this key to your info.plist
, you will encounter a runtime exception when requesting permissions.
Last updated
Was this helpful?