I have issues with the SyncManager. While all fetched / new incoming messages are cached correctly, my outgoing messages (both successfully sent, pending, and failed) disappear.
collection?.appendMessage(presendMessage) immediately after sending the message, and then
collection?.handleSendMessageResponse(message, error) in the completionHandler block.
SBSMMessageCollectionDelegate callbacks work as expected – I see when pending, failed, and succeeded messages are inserted.
I’ve also noticed that in the sample SyncManager app
handleSendMessageResponse(message, error) is never used. There’s another
collection?.appendMessage(message) on its place. I’ve tried both versions, and it still doesn’t work for me.