Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Removing legacy token.txt #2526

Closed
tobrun opened this issue Oct 5, 2015 · 2 comments
Closed

Removing legacy token.txt #2526

tobrun opened this issue Oct 5, 2015 · 2 comments
Labels
Android Mapbox Maps SDK for Android refactor

Comments

@tobrun
Copy link
Member

tobrun commented Oct 5, 2015

Currently we are loading the access token by reading the token.txt file in the raw folder.

I have 2 suggestions to make this process more Android developer friendly:

  • migrate token to res/config.xml into a non-translatable String resource
  • migrate token to AndroidManifest into a meta-data tag

This change is needed for #2524 due to possibility of resource merging/overriding.

@tobrun tobrun added refactor Android Mapbox Maps SDK for Android labels Oct 5, 2015
@jfirebaugh
Copy link
Contributor

Ref #713 for previous discussion about Android access token mechanism.

@tobrun
Copy link
Member Author

tobrun commented Oct 5, 2015

@jfirebaugh thanks for referencing, will continue discussion there

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android refactor
Projects
None yet
Development

No branches or pull requests

2 participants