{"action":"opened","issue":{"url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/168","labels_url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/168/comments","events_url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/168/events","html_url":"https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/168","id":70352556,"number":168,"title":"Null URL in CreateEvent","user":{"login":"Bronwenist","id":12081561,"avatar_url":"https://avatars.githubusercontent.com/u/12081561?v=3","gravatar_id":"","url":"https://api.github.com/users/Bronwenist","html_url":"https://github.com/Bronwenist","followers_url":"https://api.github.com/users/Bronwenist/followers","following_url":"https://api.github.com/users/Bronwenist/following{/other_user}","gists_url":"https://api.github.com/users/Bronwenist/gists{/gist_id}","starred_url":"https://api.github.com/users/Bronwenist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bronwenist/subscriptions","organizations_url":"https://api.github.com/users/Bronwenist/orgs","repos_url":"https://api.github.com/users/Bronwenist/repos","events_url":"https://api.github.com/users/Bronwenist/events{/privacy}","received_events_url":"https://api.github.com/users/Bronwenist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-23T09:03:08Z","updated_at":"2015-04-23T09:03:08Z","closed_at":null,"body":"I had problems calling `createEvent(..)` in iOS.  Basically this line below\r\n\r\n    window.plugins.calendar.createEvent(title,eventLocation,notes,startDate,endDate,success,error);\r\n\r\ngave an error  in Calendar.m at line 387:\r\n\r\n      NSURL* myUrl = [NSURL URLWithString:url];\r\n\r\nReplacing it with the code from `createEventInteractively()` which checked for NULL fixed the problem.\r\n"}}