shounakmulay / Telephony

Flutter plugin for telephony features like query device sms directory, listen for incoming messages, retrieve various network parameters, etc.
https://telephony.shounakmulay.dev
MIT License
138 stars 126 forks source link

statusListener never returns SendStatus.delivered in sendSms method. #105

Closed AR553 closed 2 years ago

AR553 commented 3 years ago

final Telephony telephony = Telephony.instance; telephony.sendSms( to: number, message: message, isMultipart: message.length >= 160, statusListener: (status) { print(status); switch (status) { case (SendStatus.DELIVERED): ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text("Links sent successfully."))); break; case (SendStatus.SENT): ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text("Links will be sent shortly."))); break; } } );

The above code never has SensStatus.delivered for any Sms.

github-actions[bot] commented 2 years ago

Issue marked stale due to no activity.