React-native-mapbox-gl: Is access_token required for self-hosted maps?

Created on 20 Jan 2018  路  4Comments  路  Source: nitaliano/react-native-mapbox-gl

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

Most helpful comment

Why?

All 4 comments

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

Why?

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 ?

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lernerbot picture lernerbot  路  3Comments

olofd picture olofd  路  3Comments

zeljkoX picture zeljkoX  路  4Comments

Maxence-Machu picture Maxence-Machu  路  3Comments

Craytor picture Craytor  路  3Comments