When using the Message SyncManager + having a slow internet, onSucceededMessageEvent
does not trigger after handleSendMessageResponse(error, message)
is called
Some other data points
- handleSendMessageResponse is called after the message is sent successfully. The message can be seen in the SendBird Dashboard
- Found a workaround for now by calling fetch(“next”) to get all new messages from the server
- onPendingMessage always triggers, there is an
insert
andremove
action, which looks to be the correct behavior - Also have setup the Channel Sync Manager, which works very reliably