Android Question Duplicate message with SI_MessageReceived

Neojoy

Member
Licensed User
Longtime User
Hi,

I'm facing a problem with SI_MessageReceived, all messages received appears in duplicate.

This is my code:

Sub SI_MessageReceived (From As String, Body As String) As Boolean


Log("My message: " & Body)
Return False

End Sub

Output:

My message: 1234
My message: 1234

Is there some parameter to prevent this or I got to check the last message, if different I discard.

Thank's
 

Neojoy

Member
Licensed User
Longtime User
I really was initializing more than once, I found out the mistake before your answer Eriel.

My fault

Thanks
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…