Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 1.51 KB

README.md

File metadata and controls

16 lines (12 loc) · 1.51 KB

Mapbox Base Android

This repository hosts annotation processors and module providers for Mapbox modular SDKs.

For documentation see MODULARIZATION.md.

Configure credentials

Before installing the SDK, you will need to gather sensitive information from your Mapbox account. If you don't have a Mapbox account: sign up and navigate to your Account page. You'll need a secret access token with the Downloads:Read scope:

  1. From your account's tokens page, click the Create a token button.
  2. From the token creation page, give your token a name and make sure the box next to the Downloads:Read scope is checked.
  3. Click the Create token button at the bottom of the page to create your token.
  4. The token you've created is a secret token, which means you will only have one opportunity to copy it somewhere secure.

You should not expose these access tokens in publicly-accessible source code where unauthorized users might find them. Instead, you should store them somewhere safe on your computer and take advantage of Gradle properties to make sure they're only added when your app is compiled. Once this configuration step has been completed, you will be able to reference your credentials in other parts of your app.