Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

Twilio Programmable Chat Client iOS 5.0.0

Compare
Choose a tag to compare
@Gray-Wind Gray-Wind released this 17 May 07:43
· 2 commits to master since this release
5ecf02f

Breaking changes

  • Major internals improvement (the "Sessionless" protocol)
    This improvement has some core effects:
    • SDK commands will return success or failure up to ~10% more quickly than before.
    • Real-time updates of data is now likely to arrive after the command completes.
      For example, [TCHChannel setAttributes] will invoke completion (i.e. success) while [TCHChannel attributes] still returns old value. To see the new value, we recommend waiting for an update event, e.g. in chatClient:channel:updated:TCHChannelUpdateAttributes delegate.
  • Channel list page size increased from 50 to 100. Please make sure your code respects any returned page size, rather than assuming 50 (or 100).
  • Some error messages have changed:
    • Declining an invite whilst already joined will return an error 50601, Invite not found instead of 50602, Cannot decline invite when already channel member.
    • Trying to leave a channel you're not part of will return error 50402, Member not found instead of 50400, User not member of channel.