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

What should happen when message in sent in background ? #114

Open
Kelve17 opened this issue Jul 25, 2019 · 1 comment
Open

What should happen when message in sent in background ? #114

Kelve17 opened this issue Jul 25, 2019 · 1 comment

Comments

@Kelve17
Copy link

Kelve17 commented Jul 25, 2019

I'm sorry if im asking something stupid but i tried to send sms in background but nothing happens, i dont see the sms being sent or anything relatable to it.

This is the code i tried:

var smsMessenger = CrossMessaging.Current.SmsMessenger;
if (smsMessenger.CanSendSmsInBackground)
    smsMessenger.SendSmsInBackground(contactos, "Some text");

But nothing happens ...
And if i send message normally, how can i know if message was sent or cancelled or some other error happened ?

if (smsMessenger.CanSendSms)
    smsMessenger.SendSms(contactos, "some text");

After this, how can i know that the message was sucessfully sent ?

@soroshsabz
Copy link

I think PR #115 can help you, when you are using smsMessenger.SendSmsInBackground

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

2 participants