hazems / cordova-sms-plugin

A custom Cordova plugin which allows sending SMS messages in Android, iOS and Windows Platforms.
33 stars 20 forks source link

sms takes too long to send to second number #16

Open mbaaro opened 7 years ago

mbaaro commented 7 years ago

Hello thanks for this awesome piece. it is working perfectly for me when sending only one sms. I am however facing difficulties when i want to send two different messages to two different numbers simultaneously. I am getting the numbers from a formbuilder form and when i hit the send button, sometimes the two messages are delivered immediately while in other instances only one message is delivered while the other takes up to 30 minutes to be delivered or not delivered at all, meaning only one is sent. It is however very important that the two messages are delivered. i am calling the sms.send() functions one after the other as below

sms.send(sendernumber, 'your packages has been sent to '+recipientnumber); sms.send(recipientnumber, sendernumber+'has sent you a package');

i would appreciate any help from this forum.I am testing my application in deployment mode