Closed prantikv closed 3 years ago
+1 any progress on this? I got to the same situation.
I believe this will always be the result for android currently.
The plugin would need to be improved and have a ContentObserver added to monitor and track the message if it is sent. The result will always be cancelled
because the SMS application has been closed (cancelled).
does anyone find or fix this issue ?
Also looking for a fix for this issue.
This issue was solved for us with the new event based method in v3.x, ref #51
I am sending SMSes using TNS and ng2 on an Android 6.0 device.
Here is the code
The above code is executed on the tap event of a button. So when the button is tapped, the native SMS app opens up, where the number and text message is pre-filled. I just hit the send button and the message is sent.
All good till now.
But I do not get any output in the success callback.
Moreover, after the message has been sent. I close the native SMS app, which takes me back to my app. i get the following.
JS: {"response":"cancelled"}
This means that in the promise the success callback is executed.
Is there a way to get the success in the args response of the success callback.