fluttercommunity / flutter_sms

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
https://fluttercommunity.github.io/flutter_sms/
MIT License
245 stars 182 forks source link

possibility to send SMS silently #11

Closed silversquall closed 4 years ago

silversquall commented 4 years ago

The plugin opens the SMS app, it then requires another tap to send the sms.

I would like to have the possibility to send the sms silently from my flutter app without having it going to the background.

thx.

rodydavis commented 4 years ago

There is no way to send silently on iOS and android just changed the guidelines and unless you are a phone or sms application you do not get this feature. That is outside the scope of this plugin.

flutter-painter commented 4 years ago

Mr Davis, Thanks again for yet another great repo ! Does this restriction also apply if apk is not distributed on google play ? Is sending sms in the background purely "forbidden" by android services ? No bad intentions, it's for avoiding mistakes while sending financial sms in remote areas.

rodydavis commented 4 years ago

If I reference the api it breaks for everyone. So it’s outside of the scope of the plugin. But outside google play anything goes