A flutter plugin to help you get the device's sms. Only Android.

Usage

To use this plugin, add sms_helper as a dependency in your pubspec.yaml file.

dependencies:
  sms_helper: ^0.0.1

Permissions

Android

Add the following permissions to your AndroidManifest.xml

<uses-permission android:name="android.permission.READ_SMS" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />

Note

sms_helper does not handle the process of asking and checking for permissions.

To check and request user permission to access contacts, try using the following plugins: permission_handler.

Libraries

sms_helper