{"action":"created","issue":{"url":"https://api.github.com/repos/intercom/intercom-cordova/issues/29","labels_url":"https://api.github.com/repos/intercom/intercom-cordova/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/intercom/intercom-cordova/issues/29/comments","events_url":"https://api.github.com/repos/intercom/intercom-cordova/issues/29/events","html_url":"https://github.com/intercom/intercom-cordova/issues/29","id":121322067,"number":29,"title":"Allow appId / apiKey to be configured at runtime","user":{"login":"rubenstolk","id":692644,"avatar_url":"https://avatars.githubusercontent.com/u/692644?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenstolk","html_url":"https://github.com/rubenstolk","followers_url":"https://api.github.com/users/rubenstolk/followers","following_url":"https://api.github.com/users/rubenstolk/following{/other_user}","gists_url":"https://api.github.com/users/rubenstolk/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenstolk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenstolk/subscriptions","organizations_url":"https://api.github.com/users/rubenstolk/orgs","repos_url":"https://api.github.com/users/rubenstolk/repos","events_url":"https://api.github.com/users/rubenstolk/events{/privacy}","received_events_url":"https://api.github.com/users/rubenstolk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-12-09T19:36:57Z","updated_at":"2016-01-14T17:07:48Z","closed_at":null,"body":"Our server architecture cares for giving out necessary appId / apiKeys to the client. The problem with this plugin is that static keys must be given through configuration.\r\n\r\nI think it would be extremely helpful to have `intercom.init` function available (in Javascript) where we can pass these details. Keys are never static, especially in a DTAP environment."},"comment":{"url":"https://api.github.com/repos/intercom/intercom-cordova/issues/comments/171706533","html_url":"https://github.com/intercom/intercom-cordova/issues/29#issuecomment-171706533","issue_url":"https://api.github.com/repos/intercom/intercom-cordova/issues/29","id":171706533,"user":{"login":"rubenstolk","id":692644,"avatar_url":"https://avatars.githubusercontent.com/u/692644?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenstolk","html_url":"https://github.com/rubenstolk","followers_url":"https://api.github.com/users/rubenstolk/followers","following_url":"https://api.github.com/users/rubenstolk/following{/other_user}","gists_url":"https://api.github.com/users/rubenstolk/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenstolk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenstolk/subscriptions","organizations_url":"https://api.github.com/users/rubenstolk/orgs","repos_url":"https://api.github.com/users/rubenstolk/repos","events_url":"https://api.github.com/users/rubenstolk/events{/privacy}","received_events_url":"https://api.github.com/users/rubenstolk/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T17:07:48Z","updated_at":"2016-01-14T17:07:48Z","body":"No it would not because we use full builds in beta where the only difference would have to be this key. Our api stores the intercom app id and key, so it would receive those prior to the intercom init..."}}