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

Callback is not being executed after sending the sms successfully #76

Open
josegamboa opened this issue Jan 15, 2020 · 3 comments
Open

Comments

@josegamboa
Copy link

josegamboa commented Jan 15, 2020

It seems like there is no way to know when the sms is successfully sent, the callback is not being called after sending the SMS on android. but, if I do cancel the sms taping back, it gets into the callback. otherwise it does not know it. is there any delay or something when the sms has been sent?

SendSMS.send({

        body: 'The default body of the SMS!',
        recipients: ['0123456789', '9876543210'],
        successTypes: ['sent', 'queued'],
        allowAndroidSendWithoutReadPermission: true
    }, (completed, cancelled, error) => {
 
        console.log('SMS Callback: completed: ' + completed + ' cancelled: ' + cancelled + 'error: ' + error);
 
    });
@UnableHead
Copy link

Hi,

Did you tried with the android permission READ_SMS and without the option allowAndroidSendWithoutReadPermission ?

@kaushil111
Copy link

I did try with READ_SMS and without allowAndroidSendWithoutReadPermission but it does not respond to the callback. Works well on iOS only. Also, if I come back from SMS screen, the callback says sending cancelled

@brunomartinezciompi
Copy link

Same here. Did you find any solution for this?

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

4 participants