Skip to content

Commit

Permalink
[android] Fix typo in downloads token property name according to docs (
Browse files Browse the repository at this point in the history
…#721)

Also fix link markdown in README
  • Loading branch information
shroff authored Oct 24, 2021
1 parent b28e8c6 commit 3cae2b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ An alternative method to provide access tokens that was required until the v0.7
### SDK Download token

You must also configure a secret access token having the *Download: read* scope for
(Android)[https://docs.mapbox.com/android/maps/guides/install/] and/or
(iOS)[https://docs.mapbox.com/ios/maps/guides/install/].
[Android](https://docs.mapbox.com/android/maps/guides/install/) and/or
[iOS](https://docs.mapbox.com/ios/maps/guides/install/).

If this configuration is not present, an error like the following appears during
the build process:
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildscript {
}

rootProject.allprojects {
def token = System.getenv('SDK_REGISTRY_TOKEN') ?: project.properties['MAPBOX_DOWNLOAD_TOKEN']
def token = System.getenv('SDK_REGISTRY_TOKEN') ?: project.properties['MAPBOX_DOWNLOADS_TOKEN']
if (token == null || token.empty) {
throw new Exception("SDK Registry token is null. See README.md for more information.")
}
Expand Down

0 comments on commit 3cae2b9

Please sign in to comment.