{"action":"closed","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat.Cordova/issues/59","repository_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.Cordova","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.Cordova/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.Cordova/issues/59/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.Cordova/issues/59/events","html_url":"https://github.com/RocketChat/Rocket.Chat.Cordova/issues/59","id":127485465,"number":59,"title":"__meteor_runtime_config__.ROOT_URL   not changed when ROOT_URL is changed","user":{"login":"Sing-Li","id":122633,"avatar_url":"https://avatars.githubusercontent.com/u/122633?v=3","gravatar_id":"","url":"https://api.github.com/users/Sing-Li","html_url":"https://github.com/Sing-Li","followers_url":"https://api.github.com/users/Sing-Li/followers","following_url":"https://api.github.com/users/Sing-Li/following{/other_user}","gists_url":"https://api.github.com/users/Sing-Li/gists{/gist_id}","starred_url":"https://api.github.com/users/Sing-Li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sing-Li/subscriptions","organizations_url":"https://api.github.com/users/Sing-Li/orgs","repos_url":"https://api.github.com/users/Sing-Li/repos","events_url":"https://api.github.com/users/Sing-Li/events{/privacy}","received_events_url":"https://api.github.com/users/Sing-Li/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat.Cordova/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"rodrigok","id":234261,"avatar_url":"https://avatars.githubusercontent.com/u/234261?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigok","html_url":"https://github.com/rodrigok","followers_url":"https://api.github.com/users/rodrigok/followers","following_url":"https://api.github.com/users/rodrigok/following{/other_user}","gists_url":"https://api.github.com/users/rodrigok/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigok/subscriptions","organizations_url":"https://api.github.com/users/rodrigok/orgs","repos_url":"https://api.github.com/users/rodrigok/repos","events_url":"https://api.github.com/users/rodrigok/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigok/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-01-19T16:32:49Z","updated_at":"2016-03-17T13:01:38Z","closed_at":"2016-03-17T13:01:38Z","body":"For some reason `__meteor_runtime_config__.ROOT_URL` value in  `https://rocketchat-host/__cordova/index.html`  is not changed even when the ROOT_URL value is changed via the admin console, or via our _*Auto ROOT_URL detect popup toast*_.\r\n\r\nThis will cause the mobile app to load the previous ROOT_URL value, resulting in a blank (or white bar) login screen.\r\n\r\nThis happens frequently because the default is  `localhost:3000` - and many rely on our 'auto detect toast' to fix the ROOT_URL for all non-mobile clients.\r\n\r\nHighly likely the cause of #25\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/30015733-__meteor_runtime_config__-root_url-not-changed-when-root_url-is-changed?utm_campaign=plugin&utm_content=tracker%2F21834450&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F21834450&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}