Flutter: Better approach for sending bulk SMS without user interaction on Android

◇◆丶佛笑我妖孽 提交于 2020-01-05 06:55:07

问题


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:

  1. send first sms to all users

  2. second sms to pending payment users

  3. 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:

  1. How can we send SMS without user interaction?
  2. How we can prompt for SIM selection? (dual sim mobile)
  3. Does using Future with async 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:

  1. Then you can use this library to send sms SMS LIBRARY.

  2. You can also choose between dual sim in this library.

  3. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!