-
Notifications
You must be signed in to change notification settings - Fork 45
Text message is sent but callbacks fail #11
Comments
Thanks for finding that. I'll look into it. Although I don't know iOS or Android, so hopefully it's a problem with the javascript. |
Have you run into this with iOS PhoneGap 3.4 was released last week so maybe there is a conflict that is silently causing the error. |
I actually have never used the callback functions to do anything. So, sorry
|
ok got ya...keep me posted. Unfortunately for me it an app breaking issue since the success callback fails I can't run the next steps in the app logic on ios. |
Callbacks work for me on Android, but not iOS - I too need them for my application logic. |
any luck on this? I'm going to use separate plugins for SMS for the time being. |
I haven't had time to look at it yet unfortunately. |
This should be fixed now in this commit: a16ee46 It turned out to be an issue with the native iOS code. |
Everytime I call this in ios I get:
Error: TypeError: 'undefined' is not an object in undefined at line 0
I use the same example as illustrated in the documentation. The success or failure call backs never get called.
Heres what I have:
var _success = function () { alert('Message sent successfully'); };
var _error = function () { alert('Message sent successfully'); };
sms.send('9546467923', tMessage, '', _success, _error);
I'm on Phonegap 3.4 ios6
The text was updated successfully, but these errors were encountered: