Skip to content

Commit 58c0d92

Browse files
committed
readme/doc
1 parent e30dee7 commit 58c0d92

File tree

81 files changed

+1542
-15955
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+1542
-15955
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
## Table of Contents
4242

4343
* [Prerequisites](#prerequisites)
44+
* [Android](#android)
4445
* [Installation](#installation)
4546
* [Configuration](#configuration)
4647
* [Issues](#issues)
@@ -116,6 +117,31 @@
116117
You either need your own tile server such as the one provided by [openmaptiles.org](https://openmaptiles.org) or a Mapbox API access token (they have a 🆓 Starter plan!), so [sign up with Mapbox](https://www.mapbox.com/signup/).
117118
Once you've registered go to your Account > Apps > New token. The 'Default Secret Token' is what you'll need.
118119

120+
### Android
121+
122+
Mapbox now requires (version > 8.6.6) an api key to download the sdk
123+
124+
If you want to use newer version than the default 8.6.6 you need to add this to your `app.gradle`
125+
```gradle
126+
allprojects {
127+
repositories {
128+
maven {
129+
url 'https://api.mapbox.com/downloads/v2/releases/maven'
130+
authentication {
131+
basic(BasicAuthentication)
132+
}
133+
credentials {
134+
// Do not change the username below.
135+
// This should always be `mapbox` (not your username).
136+
username = 'mapbox'
137+
// Use the secret token you stored in gradle.properties as the password
138+
password = project.properties['MAPBOX_DOWNLOADS_TOKEN'] ?: ""
139+
}
140+
}
141+
}
142+
}
143+
```
144+
119145

120146
[](#installation)
121147

docs/assets/main.js

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/navigation.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)