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

not sending sms to group #102

Closed
vitaly87 opened this issue Sep 30, 2016 · 2 comments
Closed

not sending sms to group #102

vitaly87 opened this issue Sep 30, 2016 · 2 comments
Labels

Comments

@vitaly87
Copy link

vitaly87 commented Sep 30, 2016

Hi all,
I am trying to send to group of people sms but I can see that sms send to only one person...
My code is:

   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(['0544462095',.........,'0547549701'],
          $scope.sms.context, options, success, error);

I am using ionic 2.1and cordova 6+,
any idea whey?

[http://stackoverflow.com/questions/39792861/not-sending-sms-more-than-ones]

@dbaq
Copy link
Member

dbaq commented Oct 6, 2016

Hello @vitaly87,

Sending a group text message is not a SMS but a MMS. There is a work in progress that you can contribute to, see #14.

To send one SMS to several people, you can iterate through the array and call the send function.

@dbaq dbaq added the question label Oct 6, 2016
@dbaq dbaq closed this as completed Oct 6, 2016
@vitaly87
Copy link
Author

vitaly87 commented Oct 6, 2016

That not working you can see example that I added to this post

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants