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

Releases: twilio/twilio-chat-ios

Twilio Programmable Chat Client iOS 5.0.1

31 Aug 13:45
c6590db
Compare
Choose a tag to compare
  • Fixed a bug when onChannelAdded event sometimes didn't arrive after restoring application from background.

Twilio Programmable Chat Client iOS 5.0.0

17 May 07:43
5ecf02f
Compare
Choose a tag to compare

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.

Twilio Programmable Chat Client iOS 4.2.1

22 Apr 15:13
5bb9979
Compare
Choose a tag to compare

Changes:

  • Fixed setting queue from properties
  • Fixed an issue when connection could be not established after returning from background. The issue was introduced in 4.1.0 and users are highly encouraged to upgrade to this version to avoid getting disconnection problems.

Pilot:

If you are interested in Mac Catalyst support please contact support to get hands-on experience with it.

Twilio Programmable Chat Client iOS 4.2.0

23 Mar 15:35
4148f73
Compare
Choose a tag to compare

Changes:

  • Added possibility to set dispatch queue to get reports not from main queue, but from selected one.
  • Added support for XCFramework with arm64 simulator.
  • Added support for SPM.
  • Removed support of Carthage until it would support binary XCFrameworks.
  • Fixed an issue when connection could be not established after returning background.

Pilot:

If you are interested in Mac Catalyst support please contact support to get hands-on experience with it.

Twilio Programmable Chat Client iOS 4.1.0

29 Jan 12:33
30e66c2
Compare
Choose a tag to compare

Changes:

  • The SDK now supports HTTP proxy. Proxy is enabled with a new flag useProxy passed to client properties on client creation. Proxy settings are read from the system configuration.
  • Added the ability to defer certificate checks to the OS (disable pinning) using a new flag, deferCertificateTrustToPlatform, passed to client properties on client creation.

Known issues:

  • TCHUserUpdateReachabilityOnline and TCHUserUpdateReachabilityNotifiable events could not come sometimes.

Changelog

Twilio Programmable Chat Client iOS 4.0.2

13 Nov 14:47
ae8eac8
Compare
Choose a tag to compare
  • Fixed a bug when onChannelUpdated/onChannelDeleted doesn't come for private channel when member removed by other user.
  • Fixed a bug which could lead to client synchronisation stuck.
  • Fixed a crash in memberWithIdentity call.

Changelog

Twilio Programmable Chat Client iOS 4.0.1

21 Oct 16:38
f88398e
Compare
Choose a tag to compare
  • Fixed a bug which could lead to crashes on member attributes update

Changelog

Twilio Programmable Chat Client iOS 4.0.0

21 Jul 16:51
ff9d18a
Compare
Choose a tag to compare

Breaking changes:

  • Renamed TCHMessage accessors: timestampdateCreated; timestampAsDatedateCreatedAsDate.
  • Asynchronous [TCHMembers membersWithCompletion] transformed to synchronous [TCHMembers membersList].
  • Added TCHMemberUpdateLastConsumptionTimestamp.
    • This as a result also changed value of TCHMemberUpdateAttributes. (potentially silently breaking change if this value was serialized)
  • Changed TWSMap/TWSList queryItemsWithOptions to return error in completion if pageSize is 0.
  • Changed [TCHChannel getUnconsumedMessagesCountWithCompletion] to return nil instead of 0 if message consumption horizon was not set.
    • Completion now uses NSNumber* (nullable object type), instead of NSUInteger to accomodate this change.
  • Changed [TCHMessages setNoMessagesConsumedWithCompletion] to use nullable NSNumber*, it will always return nil (because it resets the consumption horizon).

Changes:

  • Added [TCHMessage getMediaContentTemporaryUrlWithCompletion] to get temporary direct link to Media content.
    • To download Media by direct URL, use native iOS API, such as [NSData dataWithContentsOfURL()].
    • Deprecated [TCHMessage getMediaWithOutputStream:...]. Use above API instead.

Changelog

Twilio Programmable Chat Client iOS 3.1.1

02 Jun 06:50
6432953
Compare
Choose a tag to compare
  • Fixed the bug when connection is dropped with message: "The WebSocket message exceeded the locally configured limit"

Changelog

Twilio Programmable Chat Client iOS 3.1.0

26 May 11:14
bfa3454
Compare
Choose a tag to compare
  • Added ability to specify custom command timeout for operations like send message, join to a channel, etc.

Changelog