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

Is access_token required for self-hosted maps? #979

Closed
EugenePisotsky opened this issue Jan 20, 2018 · 4 comments
Closed

Is access_token required for self-hosted maps? #979

EugenePisotsky opened this issue Jan 20, 2018 · 4 comments

Comments

@EugenePisotsky
Copy link
Contributor

EugenePisotsky commented Jan 20, 2018

Hello,

I use self-hosted style and maps, but when i run Android app, i see the following error:

Using MapView requires setting a valid access token. Use Mapbox.getInstance(Context context, String accessToken) to provide one.

Is access_token always required? Or i'm doing something wrong?
iOS works fine

@nitaliano
Copy link
Owner

Yes you always need an access token to work with our SDK

@jussirantala
Copy link

Why?

@awdhootlele
Copy link

Having same problem here. The mapbox-gl-native has a PR merged which removes need of access token Is that not yet added in RNMapboxGL ?

@frownbreaker
Copy link

I saw the PR was merged into mapbox-gl-native
Does the issue exist for iOS as this PR says Andriod only?

emerson233 pushed a commit to studyroz/react-native-mapbox-gl that referenced this issue Apr 21, 2021
This exposes the `refresh` method for PointAnnotation components
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

5 participants