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

[Android] - Disable mapbox access token #51

Closed
sjoerdhuininga opened this issue Mar 17, 2021 · 2 comments
Closed

[Android] - Disable mapbox access token #51

sjoerdhuininga opened this issue Mar 17, 2021 · 2 comments

Comments

@sjoerdhuininga
Copy link

At the moment it seems the Android SDK will crash when you provide an invalid access token (defined as it being NULL or not starting with either PK or SK). Since we're not using Mapbox but our own tileset we don't really need a Mapbox token.

Current behaviour
App crashes when not entering a Mapbox token

Expected behaviour
App doesn't crash when leaving an empty Mapbox token

@cdiaz
Copy link

cdiaz commented Mar 27, 2021

I have same problem

@petr-pokorny-1
Copy link
Contributor

There is a PR #90 which addresses this problem, after it will be merged and released developer will be able to use Mapbox.getInstance(Context context) overload without access token.

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

No branches or pull requests

3 participants