Open BJSingh opened 7 years ago
It seems that is by intent as
onSMSArrive(JSONObject json)
contains
if (from.equals(this.lastFrom) && content.equals(this.lastContent)) {
return;
}
Hi All,
Did anyone find a solution for this issue?
I think it is ok. I just added current timestamp as part of the message for my communication. Otherwise you can remove the above code in the JS-file
My app receives consecutive duplicate messages and I need to detect it. So I cant do your first suggestion. But removing code segment is pretty good. Thank you for your suggestions. But I can't find any code like that you mentioned. Could you please mention the file name that I have to do changes. Thanks
My Device : Redmi Prime 3s (android 6.0.1)
when I send SMS with different value in message the onSMSArrive event triggered properly. But when I send new SMS with same value in repetition then onSMSArrive triggered only once and not for other successive messages. After this if I send SMS with different value then again it triggers.