Twilio Conversations Client iOS 2.0.0
Breaking changes:
- Major under-the-hood improvement (the “Sessionless” protocol). This improvement is designed primarily for improved reliability. While this is not a breaking code change, it does carry a meaningful impact on timing:
- SDK commands will return success or failure up to ~10% more quickly than before.
- Real-time updates of data are now likely to arrive after the command completes.
For example,[TCHConversation setAttributes:]
will invoke completion (i.e., success) whileTCHConversation.attributes
still returns the old value. To see the new value, we recommend waiting for an update event, e.g., in theconversationsClient:conversation:updated:
delegate with the reasonTCHConversationUpdateAttributes
.
- Some error messages have changed. E.g., trying to leave a conversation you're not part of will return error
50432, Participant not found
instead of50400, User not member of channel
. [TCHMessageOptions withAttributes:]
method is simplified, does not take completion callback anymore, returns error if failed to set attributes.