Search code examples
androidflutterdartsmsbulksms

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


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?

Solution

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