Skip to content

Instantly share code, notes, and snippets.

@juucustodio
Created May 18, 2018 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juucustodio/f41eba6c16779778f675e8aab0e1a727 to your computer and use it in GitHub Desktop.
Save juucustodio/f41eba6c16779778f675e8aab0e1a727 to your computer and use it in GitHub Desktop.
Example of how to send sms in Xamarin.Forms Applications - http://julianocustodio.com/sms-xamarin-forms
private void Send(object sender, EventArgs e)
{
var smsMessenger = CrossMessaging.Current.SmsMessenger;
if (smsMessenger.CanSendSmsInBackground)
smsMessenger.SendSmsInBackground(Number.Text, Message.Text);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment