Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look up the sdk download token at MAPBOX_DOWNLOADS_TOKEN too #221

Merged

Conversation

jb3rndt
Copy link
Contributor

@jb3rndt jb3rndt commented Aug 12, 2023

I noticed that you are using SDK_REGISTRY_TOKEN as the property name for the secret token for downloading the mapbox sdk on android. Although you correctly state in the Readme that one should use SDK_REGISTRY_TOKEN in the gradle.properties file, I think it would be good to at least also look up MAPBOX_DOWNLOADS_TOKEN in the gradle build file because that is the name used in the officiall install guide: https://docs.mapbox.com/android/maps/guides/install/.
For people that come from older packages (e.g. mapbox_gl) or read the official install guide, it is unnecessarily confusing to use a different property name here. I would even suggest to change the Readme to use MAPBOX_DOWNLOADS_TOKEN to have that consistent (of course while still having a fallback to SDK_REGISTRY_TOKEN for users that already use the package). But I'll leave that decision to you.

@jb3rndt jb3rndt requested review from a team as code owners April 29, 2024 18:05
@jb3rndt jb3rndt requested a review from evil159 April 29, 2024 18:05
@evil159 evil159 changed the base branch from main to jb3rndt/download-token-name April 29, 2024 18:06
@evil159 evil159 merged commit fa0c60d into mapbox:jb3rndt/download-token-name Apr 29, 2024
evil159 added a commit that referenced this pull request Apr 29, 2024
…519)

Co-authored-by: Jannis Berndt <berndtjannis@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants