source 'https://github.com/twilio/cocoapod-specs' target 'TicTacTwilio' do pod 'TwilioSyncClient', '~>0.6.0' end
Links are provided to specific patch versions here. We don't recommend using these links unless you have a specific need for a certain patch of a release.
syncClientWithToken:properties:delegate:completion:'s completion method.
tokenUpdate:now provides feedback via a completion method of success or failure.
openStreamWithOptions:delegate:completion:method on TwilioSyncClient
onDocument:remoteErrorOccurred:delegate method removed
onDocument:resultErrorOccurred:is no longer flagged as nullable, it will always be presented
onList:remoteErrorOccurred:delegate method removed
onList:remoteItemRemoved:instead of index
onList:resultErrorOccurred:is no longer flagged as nullable, it will always be presented
onMap:remoteErrorOccurred:delegate method removed
onMap:remoteItemRemoved:instead of key
onMap:resultErrorOccurred:is no longer flagged as nullable, it will always be presented
synchronizationStrategy:declaration, allows specifying of synchronization strategy.
TWSTwilioClientCompletionas a parameter to client creation. Clients are no longer created as immediate returns, instead the completion block is called when the client is available and ready for use.
updateTokenaccepts a completion block now to indicate the success or failure of the token update operation.
setdelegate method but instead distinct
updateddelegate methods to convey which operation occurred.
TWSYfor easier evaluation of logs
TWSOpenOptions- the set value will be available via the
endpoint_ididentifier specified in access tokens is now automatically generated and persisted in the keychain. The following should be observed with this change:
endpoint_idis no longer a required identifier in your generated access tokens, you may omit it from this build forward
endpoint_idwill be ignored if specified with your access token
endpoint_idmay not persist between runs to the simulator keychain without this [work-around]
- (void)syncClient:(nonnull TwilioSyncClient *)client errorReceived:(nonnull TWSError *)error; will be called in case of client failures, for example when using an invalid access token.