In the new SDK of mesibo_flutter, when I call message.send(), Mesibo_onMessage() is triggered but that shouldn't happen as Mesibo_onMessage() should only trigger when a message is recieved.
Once you send a message, the recipient will receive the message through Mesibo_onMessage
I made sure that the Mesibo instance is initialized correctly and the remote profile is correct, but the issue still exists.
Mesibo_onMessagewill be invoked whenever a message is sent or received, regardless of from where in your code you callmessage.send(). This allows all your message listeners to be notified and update the UI or take other actions as needed.Please refer to the https://docs.mesibo.com/tutorials/get-started/sending-and-receiving-messages/#receiving-messages-message-status-and-updates
You can use utility functions like
isIncoming()to check if the message is incoming, outgoing, etc.