This repository has been archived by the owner on Sep 19, 2022. It is now read-only.
Releases: twilio/twilio-chat-ios
Releases · twilio/twilio-chat-ios
Twilio Programmable Chat Client iOS 5.0.1
Twilio Programmable Chat Client iOS 5.0.0
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. inchatClient: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 of50602, 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 of50400, User not member of channel
.
- Declining an invite whilst already joined will return an error
Twilio Programmable Chat Client iOS 4.2.1
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
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
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
andTCHUserUpdateReachabilityNotifiable
events could not come sometimes.
Twilio Programmable Chat Client iOS 4.0.2
- 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.
Twilio Programmable Chat Client iOS 4.0.1
- Fixed a bug which could lead to crashes on member attributes update
Twilio Programmable Chat Client iOS 4.0.0
Breaking changes:
- Renamed
TCHMessage
accessors:timestamp
→dateCreated
;timestampAsDate
→dateCreatedAsDate
. - 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)
- This as a result also changed value of
- Changed TWSMap/TWSList
queryItemsWithOptions
to return error in completion ifpageSize
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.
- Completion now uses
- Changed
[TCHMessages setNoMessagesConsumedWithCompletion]
to use nullableNSNumber*
, 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.
- To download Media by direct URL, use native iOS API, such as
Twilio Programmable Chat Client iOS 3.1.1
- Fixed the bug when connection is dropped with message: "The WebSocket message exceeded the locally configured limit"
Twilio Programmable Chat Client iOS 3.1.0
- Added ability to specify custom command timeout for operations like send message, join to a channel, etc.