Open kmadsen opened 3 years ago
/**
* Returns the Mapbox access token set in the app resources.
*
* @param context The [Context] of the [android.app.Activity] or [android.app.Fragment].
* @return The Mapbox access token or null if not found.
*/
I'm also confused by the comment, can see what it's doing but not really sure why we need it.
cc: @abhishek1508
You need a specific route_access_token
as a part of your directions request for signboard and snapshot to work. This access_token
is not the one you use for public access to maps. So just add mapbox_route_token
to your mapbox_access_token.xml
file with the correct token value and it will work.
cc @kmadsen
Why crash to make devs add
mapbox_route_token
here? Examples would be nice to require a singlemapbox_access_token