flutter_read_inbox 0.0.2 copy "flutter_read_inbox: ^0.0.2" to clipboard
flutter_read_inbox: ^0.0.2 copied to clipboard

PlatformAndroid

A Flutter package which helps to fetch the sms list from the users mobile.

Read SMS Package for Flutter #

This package provides an easy way to fetch SMS messages from a user's device and send them to a server. It simplifies SMS integration in Flutter projects, allowing developers to access and process SMS data effortlessly.

Features #

βœ… Fetch SMS messages from the user's device.
βœ… Send SMS data to a server.
βœ… Handles necessary permissions for reading SMS.

Installation #

To use this package, add the following dependency to your pubspec.yaml file:

dependencies:
  flutter_read_inbox: ^0.0.2

Then, run:

flutter pub get

Getting Started #

To start using this package, you must add the required permissions in your Android project's AndroidManifest.xml file:

<uses-permission android:name="android.permission.SEND_SMS"/>
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.READ_PROFILE"/>
<uses-permission android:name="android.permission.INTERNET"/>

Usage #

Import the package:

import 'package:read_sms/src/read_inbox.dart';

Request Permissions and Fetch SMS #

final ReadInbox readInbox = ReadInbox();

//read inbox data
readInbox.readInboxData();

//if you want to send data to the server, pass url and auth token if require
readInbox.readInboxData(url: "http://.....", token:"abcde......");

Example #

For a complete example, check the /example folder.

Additional Information #

  • Issues & Contributions: If you find any issues or want to contribute, visit the GitHub repository.
  • Support: If you need help, open an issue or reach out via email.

πŸš€ Enjoy seamless SMS integration in your Flutter project! πŸš€

0
likes
135
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package which helps to fetch the sms list from the users mobile.

Repository (GitHub)
View/report issues

Topics

#flutter #package #readinbox

Documentation

Documentation
API reference

License

unknown (license)

Dependencies

flutter, flutter_sms_inbox, http, permission_handler

More

Packages that depend on flutter_read_inbox