08 Apr 2017
I’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
and ISmsTask.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 using CrossMessaging.Current.Settings()
extension method.
- Add new
EmailSettings.UseStrictMode
flag (default value false
) 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 value false
) to automatically phone the number instead of only showing the phone dialer with the number populated. Please note using this settings requires the android.permission.CALL_PHONE
added to the manifest file.
- 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.
04 Apr 2017
I’ve just published another beta build of the next major version of the Messaging Plugin to NuGet.
New feature added in this build:
- Android+UWP: Add support for sending SMS without user interaction via the
ISmsTask.CanSendSmsInBackground
and ISmsTask.SendSmsInBackground
. Thanks to soroshsabz for the initial contribution.
I’m hoping that this is the final build before publishing v4 of the plugin. Take it for a spin and let me know if you run into any issues
25 Mar 2017
I’ve just published another alpha build of the next major version of the Messaging Plugin to NuGet.
New features/changes in this build are Android related and include:
- Android: Add new
CrossMessaging.Current.Settings().Email.UseStrictMode
flag (default value false
) to filter list of apps to only email apps and not other text messaging or social apps. This replaces the EmailMessageBuilder.UseStrictMode
added in the first alpha.
- Android: Add new
CrossMessaging.Current.Settings().Phone.AutoDial
flag (default value false
) to automatically phone the number instead of only showing the phone dialer with the number populated. Please note using this settings requires the android.permission.CALL_PHONE
added to the manifest file.
19 Mar 2017
I’ve just published an early alpha build of the next major version of the Messaging Plugin to NuGet. Visit the Change Log to see what’s changed. Here are some highlights:
- Add support for sending SMS to multiple recipients
- Android: Add support for using
FileProvider
to add attachments using content Uri’s on Android Nougat and later
- Android: Add new
EmailMessageBuilder.UseStrictMode
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.)
- 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 for adding attachments
Due to the breaking changes introduced, the version of the plugin has been bumped to v4.0.0. Take it for a spin and let me know if you run into any issues
09 Dec 2015
I’ve just published an update to the Messaging Plugin for Xamarin that includes support for the Windows Universal Platform (thanks to James Montemagno). The update introduces a breaking change whereby the default namespace for the plugin changes to Plugin.Messaging
to align with the naming strategy for Xamarin plugins proposed by James Montemagno in his latest round of Xamarin plugin updates. Due to this breaking change, the version of the plugin has been bumped to v3.0.0.