{"action":"created","issue":{"url":"https://api.github.com/repos/adjust/android_sdk/issues/88","labels_url":"https://api.github.com/repos/adjust/android_sdk/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/adjust/android_sdk/issues/88/comments","events_url":"https://api.github.com/repos/adjust/android_sdk/issues/88/events","html_url":"https://github.com/adjust/android_sdk/issues/88","id":55291090,"number":88,"title":"Set environment in code","user":{"login":"maedchenflohmarkt","id":3807452,"avatar_url":"https://avatars.githubusercontent.com/u/3807452?v=3","gravatar_id":"","url":"https://api.github.com/users/maedchenflohmarkt","html_url":"https://github.com/maedchenflohmarkt","followers_url":"https://api.github.com/users/maedchenflohmarkt/followers","following_url":"https://api.github.com/users/maedchenflohmarkt/following{/other_user}","gists_url":"https://api.github.com/users/maedchenflohmarkt/gists{/gist_id}","starred_url":"https://api.github.com/users/maedchenflohmarkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maedchenflohmarkt/subscriptions","organizations_url":"https://api.github.com/users/maedchenflohmarkt/orgs","repos_url":"https://api.github.com/users/maedchenflohmarkt/repos","events_url":"https://api.github.com/users/maedchenflohmarkt/events{/privacy}","received_events_url":"https://api.github.com/users/maedchenflohmarkt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-23T15:05:14Z","updated_at":"2015-02-09T12:53:28Z","closed_at":null,"body":"Currently environment is set via meta-data which is defined at compile time. If we could set environment in code it would be easy to just switch environments based on `BuildConfig.DEBUG`.\r\n\r\nThe current method introduces a possible point of error when creating a deployable apk since the developer has to remember to switch to production."},"comment":{"url":"https://api.github.com/repos/adjust/android_sdk/issues/comments/73503639","html_url":"https://github.com/adjust/android_sdk/issues/88#issuecomment-73503639","issue_url":"https://api.github.com/repos/adjust/android_sdk/issues/88","id":73503639,"user":{"login":"wellle","id":474504,"avatar_url":"https://avatars.githubusercontent.com/u/474504?v=3","gravatar_id":"","url":"https://api.github.com/users/wellle","html_url":"https://github.com/wellle","followers_url":"https://api.github.com/users/wellle/followers","following_url":"https://api.github.com/users/wellle/following{/other_user}","gists_url":"https://api.github.com/users/wellle/gists{/gist_id}","starred_url":"https://api.github.com/users/wellle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wellle/subscriptions","organizations_url":"https://api.github.com/users/wellle/orgs","repos_url":"https://api.github.com/users/wellle/repos","events_url":"https://api.github.com/users/wellle/events{/privacy}","received_events_url":"https://api.github.com/users/wellle/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T12:53:28Z","updated_at":"2015-02-09T12:53:28Z","body":"Yes the environment will be set in code in version 4."}}