Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 2.24 KB

README.md

File metadata and controls

61 lines (41 loc) · 2.24 KB

Messaging Plugin for Xamarin and Windows

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.

Setup

**Platform Support

Platform Supported Version
Xamarin.iOS Unified Yes iOS 7+
Xamarin.Android Yes API 14+
Windows 10 UWP Yes 10+
Tizen Yes 4.0+

Release Notes

Change log history available here

API Usage

Full details on the API are available here

Android Nougat

If your application targets Android N (API 24) or newer, you must use version 4.0.0+ that has support for using a File Provider for adding atttachments due to the file system permission changes introduced with Android N.

You also need to add a few additional configuration files to adhere to the new strict mode:

  • Add the following to your AndroidManifest.xml inside the <application> tags (YOUR_APP_PACKAGE_NAME must be set to your app package name):
<provider android:name="android.support.v4.content.FileProvider" 
          android:authorities="YOUR_APP_PACKAGE_NAME.fileprovider" 
          android:exported="false" 
          android:grantUriPermissions="true">
   <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths"></meta-data>
</provider>
  • Add a new folder called xml into your Resources folder and add a new XML file called file_paths.xml. Add the following code:
<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
   <external-path name="external_files" path="." />
</paths>

Note : Make sure the file file_paths.xmlis AndroidResource.

Contributors

License

The MIT License (MIT)