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 executed right away instead of waiting for SMS to be sent #15

Open
parijatsahai opened this issue Jul 14, 2017 · 0 comments

Comments

@parijatsahai
Copy link

I am facing an issue where the callback is executed right after the SMS is triggered to be sent. This means that if I use "sendDirect" option, then the callback always returns success even though the SMS might have failed to be sent in the background, and if I use "sendIndirect" option, then the callback is executed even when the SMS app is open and the user hasn't hit the Send button. Doesn't the module wait for the SMS app/intent to return before the callback is executed? If not, then what's the difference between using Linking.openURL() vs using this module? The main reason for using this module was to have my app wait for the SMS to be sent before it displayed confirmation or error response to the user.

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

1 participant