Android Setup

Start by adding the Android SDK to your project:

  • Add implementation 'com.airmap.airmapsdk:airmapsdk:2.0.0'
    to your module-level build.gradle file
Module-level `build.gradle` file

Module-level build.gradle file

  • Add maven { url "" } to your application-level build.gradle file in the allprojects.repositories block
App-level `build.gradle` file

App-level build.gradle file

Place the airmap.config.json file that you previously downloaded inside your /assets directory. If you don't already have an assets directory, create it. It should be at the same level in the file structure as your java and res directories.

The location of the `airmap.config.json` file

The location of the airmap.config.json file

Now, initialize the SDK in your Activity or Application. The SDK will get your API key from the config file that was added to the project.


Auth Token

If the user has not logged in yet, the auth parameter can be omitted

Android Setup

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.