flutter_sms_inbox
1.0.5, released 6 months ago by an unverified publisher
Android plugin to query SMS inbox messages in Flutter apps.
What it does
Allows users to easily query inbox and sent SMS messages on Android. Provides methods to retrieve all messages or filter by kinds, address, and thread ID with built-in caps and safety bounds.
AI-written summary of version 1.0.5, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to read and query SMS messages from the device inbox on Android.
- You want to filter SMS messages by specific contacts, thread IDs, or message types.
Skip it when
- Your application targets iOS or platforms other than Android.
- You require real-time SMS listening or sending capabilities rather than inbox querying.
Strengths
- Simple API for querying and filtering SMS messages.
- Built-in query count caps, argument validation, and security hardening.
Weaknesses
- Restricted to Android only.
- Requires manual permission handling using external packages like permission_handler.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add the permission_handler package and request the READ_SMS permission, and add the READ_SMS permission to AndroidManifest.xml.
import 'package:flutter_sms_inbox/flutter_sms_inbox.dart';
void main() {
SmsQuery query = SmsQuery();
// List<SmsMessage> messages = await query.getAllSms;
}Alternatives
Packages that do the same job and could replace flutter_sms_inbox.
- rate_my_app
Ask users to rate your app if custom conditions like install time or launches are met.
85Compare - flutter_sms
A Flutter plugin to send SMS and MMS on iOS and Android.
77Compare - proximity_sensor
Flutter plugin to read proximity sensor events on Android and iOS
70Compare - android_sms_reader
A Flutter plugin to read, filter, search, and stream SMS messages on Android.
70Compare