flutter_sms_pro 1.0.0 copy "flutter_sms_pro: ^1.0.0" to clipboard
flutter_sms_pro: ^1.0.0 copied to clipboard

A new Flutter plugin for sms sending.

flutter_sms_plus #

Version 1.0.0


Description #

Flutter plugin for sending SMS and MMS on Android and iOS.

  • If you send to multiple recipients, it will send as MMS.
  • On iOS, if the recipient is an iPhone with iMessage enabled, it will send as an iMessage automatically.

Features #

  • Send SMS or MMS to one or multiple recipients.
  • Direct SMS sending on iOS using native message composer.
  • Launches SMS app on Android and iOS simulators as fallback.
  • Check if device supports sending SMS.

Getting Started #

Add the package to your pubspec.yaml:

dependencies:
  flutter_sms_plus: ^1.0.0

Usage Example #

Here’s how to send an SMS message using the plugin: dart

void sendSMS() async {
const message = "Hello from flutter_sms_plus!";
final recipients = ['+1234567890'];

try {
final result = await FlutterSmsPlus.sendSMS(
message: message,
recipients: recipients,
);
print('SMS send result: $result');
} catch (e) {
print('Failed to send SMS: $e');
}
}

Make sure to add the SMS permission in your AndroidManifest.xml: #

<uses-permission android:name="android.permission.SEND_SMS"/>
0
likes
0
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter plugin for sms sending.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, rename, url_launcher

More

Packages that depend on flutter_sms_pro

Packages that implement flutter_sms_pro