Forum Libraries, Components, and Plugins


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Send SMS using Essentials

I am trying to send an SMS message from within my Android app using Xamarin Essentials using the following code:

var message = new SmsMessage( messageText, new []{ recipient });
await Sms.ComposeAsync( message );

Calling Sms.ComposeAsync brings up the stock Android messaging application which I do not want.
What am I missing ?



Best Answer


  • AndrewFraserAndrewFraser GBMember ✭✭

    Thanks for that code sample, that works perfectly :smile:


  • jezhjezh Member, Xamarin Team Xamurai

    It's my pleasure to help you. Happy coding... :)

Sign In or Register to comment.