{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/713","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/713/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/713/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/713/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/713","id":51623713,"number":713,"title":"better way of setting access token for android","user":{"login":"jfirebaugh","id":98601,"avatar_url":"https://avatars.githubusercontent.com/u/98601?v=3","gravatar_id":"","url":"https://api.github.com/users/jfirebaugh","html_url":"https://github.com/jfirebaugh","followers_url":"https://api.github.com/users/jfirebaugh/followers","following_url":"https://api.github.com/users/jfirebaugh/following{/other_user}","gists_url":"https://api.github.com/users/jfirebaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/jfirebaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfirebaugh/subscriptions","organizations_url":"https://api.github.com/users/jfirebaugh/orgs","repos_url":"https://api.github.com/users/jfirebaugh/repos","events_url":"https://api.github.com/users/jfirebaugh/events{/privacy}","received_events_url":"https://api.github.com/users/jfirebaugh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/Android","name":"Android","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/4","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/4/labels","id":865624,"number":4,"title":"Android merge","description":"Steps towards https://github.com/mapbox/mapbox-gl-native/issues/595","creator":{"login":"ljbade","id":1215089,"avatar_url":"https://avatars.githubusercontent.com/u/1215089?v=3","gravatar_id":"","url":"https://api.github.com/users/ljbade","html_url":"https://github.com/ljbade","followers_url":"https://api.github.com/users/ljbade/followers","following_url":"https://api.github.com/users/ljbade/following{/other_user}","gists_url":"https://api.github.com/users/ljbade/gists{/gist_id}","starred_url":"https://api.github.com/users/ljbade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljbade/subscriptions","organizations_url":"https://api.github.com/users/ljbade/orgs","repos_url":"https://api.github.com/users/ljbade/repos","events_url":"https://api.github.com/users/ljbade/events{/privacy}","received_events_url":"https://api.github.com/users/ljbade/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":17,"state":"open","created_at":"2014-11-13T19:53:05Z","updated_at":"2015-01-13T10:15:44Z","due_on":null,"closed_at":null},"comments":26,"created_at":"2014-12-10T23:05:50Z","updated_at":"2015-01-13T10:15:44Z","closed_at":"2015-01-13T10:15:44Z","body":"The README on recommends setting the access token by editing a string in MapFragment.java. This means there's a modified file that you have to remember not to check in. Instead, setting the access token should be done via some mechanism that's not under source control."},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/69722836","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/713#issuecomment-69722836","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/713","id":69722836,"user":{"login":"ljbade","id":1215089,"avatar_url":"https://avatars.githubusercontent.com/u/1215089?v=3","gravatar_id":"","url":"https://api.github.com/users/ljbade","html_url":"https://github.com/ljbade","followers_url":"https://api.github.com/users/ljbade/followers","following_url":"https://api.github.com/users/ljbade/following{/other_user}","gists_url":"https://api.github.com/users/ljbade/gists{/gist_id}","starred_url":"https://api.github.com/users/ljbade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljbade/subscriptions","organizations_url":"https://api.github.com/users/ljbade/orgs","repos_url":"https://api.github.com/users/ljbade/repos","events_url":"https://api.github.com/users/ljbade/events{/privacy}","received_events_url":"https://api.github.com/users/ljbade/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T10:15:44Z","updated_at":"2015-01-13T10:15:44Z","body":"OK I went back to having gradle generate the `token.txt` file from the value of the `MAPBOX_ACCESS_TOKEN` variable at build time.\r\n\r\nI think this is the best we can do at the moment."}}