You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
I'm using react-native-mapbox-gl/maps (which depend on mapbox/mapbox-gl-native-android) to render my map without use any tiles or styles from Mapbox service. All tiles, styles, fonts were self-hosted on my server.
So I didn't have any Mapbox access token, it worked very well on iOS and browser, but doesn't work on android.
I found a PR from mapbox/mapbox-gl-native repo that was merged in 2018, it seems that PR allowed us to omit the access token. But it seems that mapbox/mapbox-gl-native-android doesn't allow it.
I think if Mapbox GL is open source and also the iOS & JS version was allowed omit the access token, the Android version should allow developers to omit it, too.
Thank you so much!
The text was updated successfully, but these errors were encountered:
bahung1221
changed the title
Access token can be omit on iOS SDK but required on Android SDK
Access token can be omit on iOS SDK and JS SDK, but it is required on Android SDK
Dec 26, 2020
Hi,
I'm using
react-native-mapbox-gl/maps
(which depend onmapbox/mapbox-gl-native-android
) to render my map without use any tiles or styles from Mapbox service. All tiles, styles, fonts were self-hosted on my server.So I didn't have any Mapbox access token, it worked very well on iOS and browser, but doesn't work on android.
I found a PR from mapbox/mapbox-gl-native repo that was merged in 2018, it seems that PR allowed us to omit the access token. But it seems that
mapbox/mapbox-gl-native-android
doesn't allow it.mapbox-gl-native-android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
Lines 133 to 135 in a470e39
I think if Mapbox GL is open source and also the iOS & JS version was allowed omit the access token, the Android version should allow developers to omit it, too.
Thank you so much!
The text was updated successfully, but these errors were encountered: