{"comment":{"created_at":"2011-10-17T14:46:47Z","body":"I had the same problem.\r\n\r\nIt was caused by the fact that I actually had a phonegap-1.1.0 framework but the example from UA includes/assumes phone gap-1.0.0 (javascript). Make sure you grab phonegap-1.1.0 and replace the phonegap-1.0.0.js with the one from 1.1 and it will work.","updated_at":"2011-10-17T14:46:47Z","url":"https://api.github.com/repos/urbanairship/ios-phonegap-plugin/issues/comments/2429550","id":2429550,"user":{"gravatar_id":"e659f63b1c326262804ab6f9495900d0","avatar_url":"https://secure.gravatar.com/avatar/e659f63b1c326262804ab6f9495900d0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jrwpersonal","id":894525,"login":"jrwpersonal"}},"action":"created","issue":{"number":2,"created_at":"2011-10-02T17:07:38Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I've downloaded the latest, followed instructions and tries to run the example (after modifying app key, secret key and using the appropriate provisioning profile). Firstly it seems that phonegap loads fine (used window.alert to test). \r\n\r\nAfter   window.plugins.pushNotification.register(successCallback, errorCallback, [{ alert:true, badge:true, sound:true }]); is called, none of the callback functions are evoked. Nothing appears in Xcode 4 log console other then:\r\n\r\n2011-10-02 19:05:58.166 UAPhoneGap[15651:707] Device initialization: DeviceInfo = {\"name\":\"Jean's iPad\",\"uuid\":\"[hidden by me]\",\"platform\":\"iPad\",\"gap\":\"1.0.0\",\"version\":\"4.3.5\",\"connection\":{\"type\":\"wifi\"}};\r\n[Switching to process 12291 thread 0x0]\r\n\r\nNot sure how to proceed.","comments":2,"title":"UAPhoneGap program does not run","updated_at":"2011-10-17T14:46:47Z","url":"https://api.github.com/repos/urbanairship/ios-phonegap-plugin/issues/2","id":1796443,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"0f1814a25c8f1fab2efe3f89694bab7a","avatar_url":"https://secure.gravatar.com/avatar/0f1814a25c8f1fab2efe3f89694bab7a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jvence","id":1061665,"login":"jvence"},"html_url":"https://github.com/urbanairship/ios-phonegap-plugin/issues/2","labels":[],"state":"open"},"legacy":{"issue_id":1796443,"comment_id":2429550}}