[android] #3023 - reactive token generation

[android] #3023 - update documentation to reflect change
This commit is contained in:
Tobrun
2015-11-13 11:17:10 +01:00
parent bcd5db4a46
commit f4de4a799c
3 changed files with 21 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ In the Android SDK Manager also select and install "Android Support Repository"
_The demo applications use Mapbox vector tiles, which require a Mapbox account and API access token. Obtain an access token on the [Mapbox account page](https://www.mapbox.com/account/apps/)._
gradle will take the value of the `MAPBOX_ACCESS_TOKEN` environ variable and save it to `android/java/MapboxGLAndroidSDK/src/main/res/raw/token.txt` where the app will read it from.
gradle will take the value of the `MAPBOX_ACCESS_TOKEN` environ variable and save it to `"MapboxGLAndroidSDKTestApp/src/main/res/values/developer-config.xml` where the app will read it from.
## Building

View File

@@ -19,7 +19,7 @@ By default, the Android SDK will be installed to `/Users/<user>/Library/Android/
_The test application (used for development purposes) uses Mapbox vector tiles, which require a Mapbox account and API access token. Obtain a free access token on the [Mapbox account page](https://www.mapbox.com/account/apps/)._
gradle will take the value of the `MAPBOX_ACCESS_TOKEN` environ variable and save it to `android/MapboxGLAndroidSDKTestApp/src/main/res/raw/token.txt` where the app will read it from.
gradle will take the value of the `MAPBOX_ACCESS_TOKEN` environ variable and save it to `MapboxGLAndroidSDKTestApp/src/main/res/values/developer-config.xml` where the app will read it from.
## Developing In Android Studio