flutter_sms icon indicating copy to clipboard operation
flutter_sms copied to clipboard

[ANDROID] Using broadcastreceiver to check if the message is sent or not

Open ahmed-ashraf opened this issue 2 years ago • 2 comments

I used android "BroadcastReceiver" to check if the SMS is sent or not. The broadcast receiver will handle all types of message failures in android.

  • No credit
  • No service for SMS
  • Null PDU
  • Airplane mode turned on

ahmed-ashraf avatar Feb 08 '23 13:02 ahmed-ashraf

@ahmed-ashraf How did you check sending status on android ? The message was returned before user actual press send button

dongnqdev avatar Dec 11 '23 10:12 dongnqdev

This will work only when sendDirect = true. on the other side if sendDirect = false when the app opens the messages app when the user press the send button he will know the result from the messages app itself. Hope I didn't misunderstood your question @dongnqdev

ahmed-ashraf avatar Dec 11 '23 13:12 ahmed-ashraf