{"action":"created","issue":{"url":"https://api.github.com/repos/don/cordova-plugin-rfduino/issues/20","labels_url":"https://api.github.com/repos/don/cordova-plugin-rfduino/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/don/cordova-plugin-rfduino/issues/20/comments","events_url":"https://api.github.com/repos/don/cordova-plugin-rfduino/issues/20/events","html_url":"https://github.com/don/cordova-plugin-rfduino/issues/20","id":53545923,"number":20,"title":"IOS connect fail callback error","user":{"login":"batman11111","id":8679932,"avatar_url":"https://avatars.githubusercontent.com/u/8679932?v=3","gravatar_id":"","url":"https://api.github.com/users/batman11111","html_url":"https://github.com/batman11111","followers_url":"https://api.github.com/users/batman11111/followers","following_url":"https://api.github.com/users/batman11111/following{/other_user}","gists_url":"https://api.github.com/users/batman11111/gists{/gist_id}","starred_url":"https://api.github.com/users/batman11111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batman11111/subscriptions","organizations_url":"https://api.github.com/users/batman11111/orgs","repos_url":"https://api.github.com/users/batman11111/repos","events_url":"https://api.github.com/users/batman11111/events{/privacy}","received_events_url":"https://api.github.com/users/batman11111/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-06T18:26:20Z","updated_at":"2015-01-06T21:19:51Z","closed_at":null,"body":"I'm using cordova to install your latest rfduino plugin (0.1.2 I believe it is)for IOS.  When the rfduino.connect funtion is called it always fires a fail callback as well as a success callback.  So when I connect to a rfduino it connects but also fires the fail callback.  I've used the plugin on android with phonegap build and have not had the problem.  Seems to be only with IOS (7.12 havent tried other versions) using cordova.  Let me know if I'm doing something wrong or if you need more info.  thanks."},"comment":{"url":"https://api.github.com/repos/don/cordova-plugin-rfduino/issues/comments/68935653","html_url":"https://github.com/don/cordova-plugin-rfduino/issues/20#issuecomment-68935653","issue_url":"https://api.github.com/repos/don/cordova-plugin-rfduino/issues/20","id":68935653,"user":{"login":"don","id":3133,"avatar_url":"https://avatars.githubusercontent.com/u/3133?v=3","gravatar_id":"","url":"https://api.github.com/users/don","html_url":"https://github.com/don","followers_url":"https://api.github.com/users/don/followers","following_url":"https://api.github.com/users/don/following{/other_user}","gists_url":"https://api.github.com/users/don/gists{/gist_id}","starred_url":"https://api.github.com/users/don/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/don/subscriptions","organizations_url":"https://api.github.com/users/don/orgs","repos_url":"https://api.github.com/users/don/repos","events_url":"https://api.github.com/users/don/events{/privacy}","received_events_url":"https://api.github.com/users/don/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T21:19:51Z","updated_at":"2015-01-06T21:19:51Z","body":"I've seen a similar problem in the past. I haven't had time to look into it. I downgraded to Cordova 4.0.0 with iOS 3.7.0 and things are working OK. I'll take a look at the newer version to see if I can duplicate / fix the issue.  Until then, you can downgrade with `npm install -g cordova@4.0.0`\r\n\r\nYou'll probably need to remove and add the iOS platform to get things working.\r\n\r\n"}}