Skip to content
pubscout

flutter_sms

3.0.1, released 9 months ago by rodydavis.com

A Flutter plugin to send SMS and MMS on iOS and Android.

WASM-ready
$ flutter pub add flutter_sms
Source repository

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.

Works with

Packages commonly used together with flutter_sms: ones it builds on, ones built on it, and its own family.