Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit 8550db8

Browse files
author
Dom Brassey
authored
consistify YOUR_MAPBOX_ACCESS_TOKEN (#1417)
1 parent c327bae commit 8550db8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ _This demo app uses Mapbox vector tiles, which require a Mapbox account and a Ma
3737
With the first Gradle invocation, Gradle will take the value of the `MAPBOX_ACCESS_TOKEN` environment variable and save it to `SharedCode/src/main/res/values/developer-config.xml`. If the environment variable wasn't set, you can create/edit the `developer-config.xml` file. Create an `access_token` String resource and paste your access token into it:
3838

3939
```xml
40-
<string name="access_token">PASTE_YOUR_TOKEN_HERE</string>
40+
<string name="access_token">YOUR_MAPBOX_ACCESS_TOKEN</string>
4141
```
4242

4343
### Inside the app

SharedCode/gradle-config.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ task secretKeysSetup {
3232
String mapboxAccessToken = "$System.env.MAPBOX_ACCESS_TOKEN"
3333
if (mapboxAccessToken == "null") {
3434
System.out.println("You should set the MAPBOX_ACCESS_TOKEN environment variable.")
35-
mapboxAccessToken = "YOUR_MAPBOX_ACCESS_TOKEN_GOES_HERE"
35+
mapboxAccessToken = "YOUR_MAPBOX_ACCESS_TOKEN"
3636
}
3737

3838
String tokenFileContents = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" +

0 commit comments

Comments
 (0)