Skip to content

Twilio Conversations Client iOS 2.0.0

Compare
Choose a tag to compare
@Gray-Wind Gray-Wind released this 21 Oct 07:18
d713475

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) while TCHConversation.attributes still returns the old value. To see the new value, we recommend waiting for an update event, e.g., in the conversationsClient:conversation:updated: delegate with the reason TCHConversationUpdateAttributes.
  • 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 of 50400, User not member of channel.
  • [TCHMessageOptions withAttributes:] method is simplified, does not take completion callback anymore, returns error if failed to set attributes.