The Messaging plugin makes it possible to make a phone call, send a sms or send an e-mail using the default messaging applications on the different mobile platforms.
- Available on NuGet: https://www.nuget.org/packages/Xam.Plugins.Messaging
- Install into your PCL project and Client projects.
Platform Support
| Platform | Supported | Version |
|---|---|---|
| Xamarin.iOS | Yes | iOS 7+ |
| Xamarin.iOS Unified | Yes | iOS 7+ |
| Xamarin.Android | Yes | API 9+ |
| Windows Phone Silverlight | Yes | 8.0+ |
| Windows Phone RT | Yes | 8.1+ |
| Windows Store RT | Yes | 8.1+ |
| Windows 10 UWP | Yes | 10+ |
| Xamarin.Mac | No |
Full details on the API are available here
[3.2.1]
- Add
EmailMessageBuilder.WithAttachmentoverload to add attachments directly from within PCL code (Android/iOS only) - Add additional
IEmailTask.CanSendEmailAttachments,IEMailTask.CanSendEmailBodyAsHtml - Add
CrossMessagingsingleton as alternative toMessagingPluginto access API features - Rename assemblies to
Plugin.Messaging
[3.0.0]
- Add UWP Support
- Breaking Change: Change namespace to
Plugin.Messaging
[2.3.0]
- Allow specifying empty/null text and subject for Sms, Email
- Fix for finding correct
UIVIewControlleron iOS
[2.2.1]
- Allow specifying multiple email attachments for Android
- Resolved issued with
CanSendEmailnot working on Android 5.0 and later
[2.1.0]
- Allow specifying empty/null recipient for Sms, Email
[2.0.1]
- Resolved issued with Bcc being added to Cc recipients
[2.0]
- Added support for attachments via
IEmailAttachmentabstraction (supported on Android, iOS and WinPhone RT only) - Added
IEmailMessageabstraction - Breaking change: Deprecated
EmailMessageRequest. ConstructIEmailMessageusingEmailMessageBuilderinstead. - Breaking change: Changed
IEmailTask.SendMailoverload to useIEmailMessage.
[1.4]
- Added HTML support (Android/iOS only)
[1.3]
- Added new
EmailMessageBuilder
[1.2]
- Added new
IPhoneCallTask.CanMakePhoneCall - Added ```IEmailTask.SendEmail`` overload to make it easier to send simple email request
- Added Windows Store assembly. Does not support making phone calls or sending sms and only partial e-mail support via
mailtoprotocol.