You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In sending Sms the listening status is not updating after sending another SMS. but when i restarted my app, it listen once then failed to listen again.
SmsMessage message = new SmsMessage(address, 'Hello flutter world!');
message.onStateChanged.listen((state) {
if (state == SmsMessageState.Sent) {
print("SMS is sent!");
} else if (state == SmsMessageState.Delivered) {
print("SMS is delivered!");
} else if (state == SmsMessageState.Fail) {
print("SMS is failed!");
}
});
sender.sendSms(message);
}
The text was updated successfully, but these errors were encountered:
@lloydie008 I got the same problem, i noticed that the problem was inside sms_adavced.dart file at line 365. if (_sentMessages.containsKey(id)). The value of id is always 0 and i dont know why.
The workaround for me was to update this part of the code, pleas take a look here: Keveltiah@1cb942c
In sending Sms the listening status is not updating after sending another SMS. but when i restarted my app, it listen once then failed to listen again.
}
The text was updated successfully, but these errors were encountered: