问题
In our project, we need to send bulk SMS to our entire customer list (around 200 users in the list), for their monthly dues.
We will:
send first sms to all users
second sms to pending payment users
final third message to remaining users
We can't use SMS Gateway with API, because the internet is not reliable in the area where this app will be used so we wanted to use SIM for the SMS.
Questions:
- How can we send SMS without user interaction?
- How we can prompt for SIM selection? (dual sim mobile)
- Does using
Future
withasync
is good approach for sending BULK SMS OR is there any alternative available?
回答1:
First of all you should take runtime permission for SMS
Answers:
Then you can use this library to send sms SMS LIBRARY.
You can also choose between dual sim in this library.
With help of this library based on sms is delivered or not you can handle BULK SMS.
来源:https://stackoverflow.com/questions/57668027/flutter-better-approach-for-sending-bulk-sms-without-user-interaction-on-androi