Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

m0nac0
Copy link
Collaborator

@m0nac0 m0nac0 commented Jun 10, 2020

This allows passing the Mapbox access token in flutter in the MapboxMap constructor. Alternatively, the old method of setting the access token through different files is still supported as a fallback if the accessToken parameter isn't set. As a positive side-effect this should make stealing tokens by reverse-engineering an app a bit harder.

Closes #41.

@m0nac0 m0nac0 changed the title Allow setting access token in Flutter (android, iOS, web) Allow setting access token in Flutter Jun 10, 2020
Copy link
Collaborator

@tobrun tobrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, can you update the project readme file to reflect these changes? Maybe move old way of setting up accesstoken to another paragraph or separate doc

@m0nac0
Copy link
Collaborator Author

m0nac0 commented Jun 10, 2020

@tobrun Sure, what do you think of moving it into a wiki article?

@m0nac0
Copy link
Collaborator Author

m0nac0 commented Jun 12, 2020

@tobrun New article is at https://github.com/tobrun/flutter-mapbox-gl/wiki/Mapbox-access-tokens, I've updated the Readme and the dart doc comment.

@m0nac0 m0nac0 merged commit 286dcd6 into master Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move accesstoken configuration to flutter

2 participants