Messaging Plugin for Xamarin 4 released
08 Apr 2017I’ve just published the final build of the next major version of the Messaging Plugin to NuGet. I’ve added no new features since the last beta build.
Here is the complete list of changes for v4 of the plugin:
- Add support for sending SMS to multiple recipients
- Android+UWP: Add support for sending SMS without user interaction via the
ISmsTask.CanSendSmsInBackground
andISmsTask.SendSmsInBackground
- Android: Add support for using
FileProvider
to add attachments using content Uri’s on Android Nougat and later - Android: Add new
Settings
class to configure Android specific behavior when sending emails/making phone calls (see next bullets). Access from Android project only usingCrossMessaging.Current.Settings()
extension method.- Add new
EmailSettings.UseStrictMode
flag (default valuefalse
) to filter list of apps to only email apps and not other text messaging or social apps. Unfortunately adding attachments when using StrictMode does not seem to work, and is therefore currently not supported. - Add new
PhoneSettings.AutoDial
flag (default valuefalse
) to automatically phone the number instead of only showing the phone dialer with the number populated. Please note using this settings requires theandroid.permission.CALL_PHONE
added to the manifest file.
- Add new
- Breaking Change: Remove iOS Classic support
- Breaking Change: Remove Windows Phone 8.0 and 8.1 support
- Breaking Change: Reworked
EmailMessageBuilder.WithAttachment
platform API to provide consistent API
Full details of how to use the plugin can be found here. You can also find samples illustrating the use of the different features in the GitHub repo.
Comments