flutter_sms
flutter_sms copied to clipboard
[ANDROID] Using broadcastreceiver to check if the message is sent or not
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 How did you check sending status on android ? The message was returned before user actual press send button
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