You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Flutter plugin to Send SMS and MMS on iOS and Android. If iMessage is enabled it will send as iMessage on iOS. This plugin must be tested on a real device on iOS. Maintainer: @rodydavis
Flutter Plugin for sending SMS and MMS on Android and iOS. If you send to more than one person it will send as MMS. On the iOS if the number is an iPhone and iMessage is enabled it will send as an iMessage.
You can quickly send the message with this function.
String message ="This is a test message!";
List<String> recipents = ["1234567890", "5556787676"];
_sendSMS(message, recipents);
Sending Direct
WARNING, there is a narrow category of apps that can get into the play store
using this feature. Using it is only advisable if you fit into this category or
you intent to distribute through a third party platform
On Android, you can skip the additional dialog with the sendDirect parameter.
String message ="This is a test message!";
List<String> recipents = ["1234567890", "5556787676"];
String _result =awaitsendSMS(message: message, recipients: recipents, sendDirect:true)
.catchError((onError) {
print(onError);
});
print(_result);
NOTE: This also requires the SEND_SMS permission to be added to the AndroidManifest.xml
A Flutter plugin to Send SMS and MMS on iOS and Android. If iMessage is enabled it will send as iMessage on iOS. This plugin must be tested on a real device on iOS. Maintainer: @rodydavis