{"action":"opened","issue":{"url":"https://api.github.com/repos/HTBox/allReady/issues/1441","repository_url":"https://api.github.com/repos/HTBox/allReady","labels_url":"https://api.github.com/repos/HTBox/allReady/issues/1441/labels{/name}","comments_url":"https://api.github.com/repos/HTBox/allReady/issues/1441/comments","events_url":"https://api.github.com/repos/HTBox/allReady/issues/1441/events","html_url":"https://github.com/HTBox/allReady/issues/1441","id":186825435,"number":1441,"title":"Mobile-App: api url is hard-coded ","user":{"login":"digitaldrummerj","id":708423,"avatar_url":"https://avatars.githubusercontent.com/u/708423?v=3","gravatar_id":"","url":"https://api.github.com/users/digitaldrummerj","html_url":"https://github.com/digitaldrummerj","followers_url":"https://api.github.com/users/digitaldrummerj/followers","following_url":"https://api.github.com/users/digitaldrummerj/following{/other_user}","gists_url":"https://api.github.com/users/digitaldrummerj/gists{/gist_id}","starred_url":"https://api.github.com/users/digitaldrummerj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitaldrummerj/subscriptions","organizations_url":"https://api.github.com/users/digitaldrummerj/orgs","repos_url":"https://api.github.com/users/digitaldrummerj/repos","events_url":"https://api.github.com/users/digitaldrummerj/events{/privacy}","received_events_url":"https://api.github.com/users/digitaldrummerj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-02T15:00:52Z","updated_at":"2016-11-02T15:00:52Z","closed_at":null,"body":"The api url is hard coded into the mobile app's services.    My suggested solution is to create a set of gulp tasks to swap the api url between the localhost and the deployment urls.  Would need to make sure it works for all environments (localhost, dev, prod, etc).  \r\n\r\nAcceptance Criteria:\r\n\r\n1. Able to change from localhost to dev\r\n1. Able to change from localhost to prod\r\n1. Able to change from dev to localhost\r\n1. Able to change from prod to localhost\r\n1. CI Build runs the appropriate config change for the environment it is deploying to\r\n\r\n"}}
{"actor":{"display_login":"digitaldrummerj"}}