sms_suite 1.0.1
sms_suite: ^1.0.1 copied to clipboard
A Flutter plugin to send SMS messages via native Android APIs. sms_suite is designed to grow with support for message delivery.
📦 sms_suite #
A Flutter plugin to send SMS messages to one or more recipients using Android’s native SmsManager API.
⚠️ Note: This plugin supports Android only. iOS is not supported.
You must declare and request SMS permissions for this plugin to work properly (see below).
✨ Features #
- ✅ Send SMS messages to multiple phone numbers
- 📲 Uses Android's native
SmsManagerAPI - 🔧 Built with scalability in mind for future features like:
- Delivery reports
- Incoming SMS detection
- Inbox/message reading
📱 Example: Send SMS #
import 'package:sms_suite/sms.dart';
void sendGroupMessage() async {
final smsPlugin = Sms();
try {
await smsPlugin.sendMessages(
phoneNumbers: ['+911111111111', '+912222222222'],
message: 'Hello from Flutter plugin!',
);
debugPrint('SMS sent successfully');
} catch (e) {
debugPrint('Error sending SMS: $e');
}
}