twilio / conversations-ios

SPM releases
https://www.twilio.com/docs/conversations/ios/changelog
10 stars 5 forks source link

Subsequent calls to advanceLastReadMessageIndex too close together results in no response from completion block #5

Closed mweyamutsvene closed 2 years ago

mweyamutsvene commented 3 years ago

If I call

conversation.advanceLastReadMessageIndex(index) { result, messageCount in
                print(result.debugDescription)
            }

twice in less than 2 seconds of each other the second call never hits the completion block If I call it after 3 seconds I will receive a response in the completion block.

v 1.2.0 on ios 14.4

Gray-Wind commented 3 years ago

Hello, sorry for a long answer, could you check if this issue reproduces on the new version (1.3.0) of SDK?

If so, could you provide logs from SDK? You could set it via TwilioConversationsClient.setLogLevel(.trace). Send it to the newly created support ticket or you can send them to this email address: ikolomeitsev@twilio.com

Gray-Wind commented 2 years ago

I'm closing this ticket since no answer for a long time. A lot changed in the SDK since this ticket was created. Please try to reproduce and create a new ticket if you feel the need.