flutter_sms
3.0.1, released 9 months ago by rodydavis.com
A Flutter plugin to send SMS and MMS on iOS and Android.
What it does
Allows Flutter applications to send SMS and MMS messages to one or multiple recipients. It also checks if the current device is capable of sending SMS.
AI-written summary of version 3.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to trigger SMS or MMS messages from your app
- You want to check if the device can send text messages before calling send APIs
Skip it when
- You need to send direct background SMS without opening the native messaging app interface
- You need to receive or read incoming SMS messages
Strengths
- Supports multiple recipients
- Can check device SMS capability
- Supports web and native platforms
Weaknesses
- Direct SMS sending functionality has been removed in newer versions
- Relies on native messaging app intents
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Not documented
void _sendSMS() async {
List<String> recipients = ["1234567890", "5556787676"];
String message = "This is a test message!";
try {
String result = await sendSMS(message: message, recipients: recipients);
print(result);
} catch (error) {
print(error);
}
}Alternatives
Packages that do the same job and could replace flutter_sms.
- sms_mms
Opens the native Android and iOS messaging app to send SMS or MMS with attachments.
64Compare - another_telephony
Flutter plugin to send/receive SMS, make phone calls, and retrieve network parameters on Android.
56Compare - flutter_email_sender
Allows sending emails from Flutter using native platform functionality.
84Compare - appinio_social_share
Supports sharing text, images, files, and text with images to social media apps.
78Compare
Works with
Packages commonly used together with flutter_sms: ones it builds on, ones built on it, and its own family.