From 7b070652588b341f8024cb28232df8928c8589d3 Mon Sep 17 00:00:00 2001 From: Ephraim Kigamba <31766075+ekigamba@users.noreply.github.com> Date: Tue, 22 Aug 2023 11:08:26 +0300 Subject: [PATCH 1/2] Update README.MD with Mapbox repo token --- sample/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/sample/README.md b/sample/README.md index 2400d86ef..9588b4fdb 100644 --- a/sample/README.md +++ b/sample/README.md @@ -4,6 +4,7 @@ Use this sample application to view Kujaku's features. Add the following lines i `../local.properties` file before compiling this module: ``` +mapbox.repo.token="[YOUR MAPBOX REPO ACCESS TOKEN]" mapbox.sdk.token="[YOUR MAPBOX SDK TOKEN]" cgr.username="[YOUR_CGR_USERNAME_WITHOUT_BRACKETS]" cgr.password="[YOUR_CGR_PASSWORD_WITHOUT_BRACKETS]" From 60a1c142b70bc181b802c4a739e731cf5acd4e4e Mon Sep 17 00:00:00 2001 From: Ephraim Kigamba <31766075+ekigamba@users.noreply.github.com> Date: Tue, 22 Aug 2023 11:15:54 +0300 Subject: [PATCH 2/2] Add more documentation on download access token --- sample/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sample/README.md b/sample/README.md index 9588b4fdb..e36ccf6f1 100644 --- a/sample/README.md +++ b/sample/README.md @@ -5,9 +5,11 @@ Use this sample application to view Kujaku's features. Add the following lines i ``` mapbox.repo.token="[YOUR MAPBOX REPO ACCESS TOKEN]" -mapbox.sdk.token="[YOUR MAPBOX SDK TOKEN]" +mapbox.sdk.token=[YOUR MAPBOX SDK TOKEN] cgr.username="[YOUR_CGR_USERNAME_WITHOUT_BRACKETS]" cgr.password="[YOUR_CGR_PASSWORD_WITHOUT_BRACKETS]" cgr.url="[CGR_URL_WITHOUT_BRACKETS]" ``` -If you don't have a Mapbox account, [sign up](https://www.mapbox.com/signup/), and then navigate to your [Account](https://www.mapbox.com/account/) page. Copy your default public token to your clipboard then use it as `[YOUR MAPBOX SDK TOKEN]` above. +If you don't have a Mapbox account, [sign up](https://www.mapbox.com/signup/), and then navigate to your [Account](https://www.mapbox.com/account/) page. Copy your default public token to your clipboard then use it as `[YOUR MAPBOX SDK TOKEN]` above. Generate another token, a secret access token, that gives you access to `Downloads:Read` scope. This allows you to access the Mapbox repository with the dependencies + +**NB: The `mapbox.sdk.token` has double quotation marks around the value while the `mapbox.repo.token` does not have double quotation marks around the value.**