Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In the platform android always triggered success event before send the sms #41

Closed
jcsena opened this issue Jul 2, 2015 · 1 comment
Closed

Comments

@jcsena
Copy link

jcsena commented Jul 2, 2015

In the platform android always return success event before send the sms

run the example code in IOS succefully but in android triggered success before send

 //CONFIGURATION
       var options = {
           replaceLineBreaks: false, // true to replace \n by a new line, false by default
           android: {
               intent: 'INTENT'  // send SMS with the native android SMS messaging
               //intent: '' // send SMS without open any other app
           }
       };

       var success = function () { alert('Message sent successfully'); };
       var error = function (e) { alert('Message Failed:' + e); };
       sms.send(62646345, 'Hello World', options, success, error);

thx

@dbaq
Copy link
Member

dbaq commented Jul 2, 2015

Please see #26.

@dbaq dbaq closed this as completed Jul 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants