{"action":"created","issue":{"url":"https://api.github.com/repos/intercom/intercom-cordova/issues/11","labels_url":"https://api.github.com/repos/intercom/intercom-cordova/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/intercom/intercom-cordova/issues/11/comments","events_url":"https://api.github.com/repos/intercom/intercom-cordova/issues/11/events","html_url":"https://github.com/intercom/intercom-cordova/issues/11","id":96096501,"number":11,"title":"logEvent doesn't work when called without the metadata parameter","user":{"login":"nightaul","id":4053611,"avatar_url":"https://avatars.githubusercontent.com/u/4053611?v=3","gravatar_id":"","url":"https://api.github.com/users/nightaul","html_url":"https://github.com/nightaul","followers_url":"https://api.github.com/users/nightaul/followers","following_url":"https://api.github.com/users/nightaul/following{/other_user}","gists_url":"https://api.github.com/users/nightaul/gists{/gist_id}","starred_url":"https://api.github.com/users/nightaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightaul/subscriptions","organizations_url":"https://api.github.com/users/nightaul/orgs","repos_url":"https://api.github.com/users/nightaul/repos","events_url":"https://api.github.com/users/nightaul/events{/privacy}","received_events_url":"https://api.github.com/users/nightaul/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-20T16:03:42Z","updated_at":"2015-07-28T14:37:01Z","closed_at":"2015-07-28T14:37:01Z","body":"Hi,\r\n\r\nWhen calling ```intercom.logEvent('event_name');``` no event gets sent to Intercom and the following gets logged in the console:\r\n```\r\n-[NSNull count]: unrecognized selector sent to instance 0x38ca53c0\r\n\r\n*** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: <NSInvalidArgumentException> -[NSNull count]: unrecognized selector sent to instance 0x38ca53c0\r\n```\r\n\r\nCalling ```intercom.logEvent('event_name', {});``` or ```intercom.logEvent('event_name', {param: 'data'});``` works fine.\r\n"},"comment":{"url":"https://api.github.com/repos/intercom/intercom-cordova/issues/comments/125629815","html_url":"https://github.com/intercom/intercom-cordova/issues/11#issuecomment-125629815","issue_url":"https://api.github.com/repos/intercom/intercom-cordova/issues/11","id":125629815,"user":{"login":"jtreanor","id":1773641,"avatar_url":"https://avatars.githubusercontent.com/u/1773641?v=3","gravatar_id":"","url":"https://api.github.com/users/jtreanor","html_url":"https://github.com/jtreanor","followers_url":"https://api.github.com/users/jtreanor/followers","following_url":"https://api.github.com/users/jtreanor/following{/other_user}","gists_url":"https://api.github.com/users/jtreanor/gists{/gist_id}","starred_url":"https://api.github.com/users/jtreanor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtreanor/subscriptions","organizations_url":"https://api.github.com/users/jtreanor/orgs","repos_url":"https://api.github.com/users/jtreanor/repos","events_url":"https://api.github.com/users/jtreanor/events{/privacy}","received_events_url":"https://api.github.com/users/jtreanor/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T14:37:01Z","updated_at":"2015-07-28T14:37:01Z","body":"This has been fixed in 1.0.6 :smile: "}}