Updated AzureCommunicationCommon package version to 1.2.0.
- The SDK now incorporates a more recent Trouter template to prevent IOS devices from receiving duplicate real-time notifications.
- Reverted reference to .cloudEnvironment enum that's only available in AzureCommunicationCommon version 1.2.0-beta.1 onwards. This resolves the issue in releasing AzureCommunicationChat version 1.3.2
- Added support for EU Data Boundary(EUDB)
- Added ARM64 simulator support
ChatClient
now supports Push Notifications for Chat events- Following methods added to
ChatClient
:startPushNotifications(deviceToken:)
stopPushNotifications()
- Added the prototol
PushNotificationKeyStorage
and the classAppGroupPushNotificationKeyStorage
to support PushNotification Encryption Key Management
ChatClient
now supports Push Notifications for Chat events- Following methods added to
ChatClient
:startPushNotifications(deviceToken:)
stopPushNotifications()
- Added the prototol
PushNotificationKeyHandler
and the classAppGroupPushNotificationKeyHandler
to support PushNotification Encryption Key Management
- Added two new events
realTimeNotificationConnected
andrealTimeNotificationDisconnected
that allow the developer to know when the connection to the real time notification server is active.
Updated service API version to 2021-09-07.
- Fix missing AzureTest dependency in Package.swift
ChatMessage
supports metadata, provide optional metadata when sending aChatMessage
ChatMessageReceivedEvent
andChatMessageEditedEvent
also contain metadata- Typing notifications support sender display name,
sendTypingNotification()
accepts an optionalsenderDisplayName
- Added
CommunicationSignalingErrorHandler
toAzureCommunicationChatClientOptions
for handling signaling errors.
- Fixed realtime notifications to handle nil
displayName
. - Fixed
readOn
property inreadReceiptReceived
events. - Fixed recipient id format in events.
- ChatClient sets
applicationId
to be empty by default instead of using the bundle identifier
- Update message parameters updated to
update(message: String, parameters: UpdateChatMessageRequest)
EventHandler
renamed toTrouterEventHandler
- Removed
AddChatParticipantsRequest
,UpdateChatThreadRequest
,CommunicationIdentifierModel
- Changed the way in which options are instantiated for the following classes:
CreateChatThreadOptions
,DeleteChatThreadOptions
,ListChatThreadsOptions
,AddChatParticipantsOptions
,DeleteChatMessageOptions
,GetChatMessageOptions
,GetChatThreadPropertiesOptions
,ListChatMessagesOptions
,ListChatParticipantsOptions
,ListChatReadReceiptsOptions
,RemoveChatParticipantOptions
,SendChatMessageOptions
,SendChatReadReceiptOptions
,SendTypingNotificationOptions
,UpdateChatMessageOptions
,UpdateChatThreadPropertiesOptions
.- old:
let options = Chat.CreatChatThreadOptions()
- new:
let options = CreateChatThreadOptions()
- old:
- Moved
AzureCommunicationChatClient.ApiVersion
toAzureCommunicationChatClientOptions.ApiVersion
. - Renamed
CommunicationError
toChatError
- Removed following classes:
CreateChatThreadResult
,CreateChatThreadRequest
,ChatMessage
,ChatMessageContent
,ChatParticipant
,ChatMessageReadReceipt
,ChatThreadProperties
. - Removed Any type in TrouterEventUtil, and create a new enum TrouterEvent
- Signaling event handlers now only accept a single enum argument,
TrouterEvent
instead of type Any and a ChatEventId. This eliminates the need to cast event payloads. Instead, developers can simply using a switch/case statement on the relevantTrouterEvent
values. - The TrouterEventUtil.create method now returns the strongly-typed enum
TrouterEvent
instead of Any.
- Swift PM user should now target the
SwiftPM-AzureCommunicationChat
repo. - AzureCommunicationChat can now version independently of other libraries.
ChatClient
now supports Realtime Notifications for Chat events- Following methods added to
ChatClient
:startRealtimeNotifications()
stopRealtimeNotifications()
register(event, handler)
registers handlers for Chat eventsunregister(event)
unregisters handlers for Chat events
- Build setting
ENABLE_BITCODE
is no longer supported forAzureCommunicationChat
. It must be set to NO. - Renamed
Participant
toChatParticipant
- Renamed
Message
toChatMessage
- Renamed
MessageContent
toChatMessageContent
- Renamed
ReadReceipt
toChatMessageReadReceipt
- Renamed
Thread
toChatThreadProperties
- Renamed
CreateThreadRequest
toCreateChatThreadRequest
- Renamed
CreateThreadResult
toCreateChatThreadResult
- Renamed
CommunicationError
toChatError
- ChatThreadClient
update()
message accepts a string for the message content instead of an object - The method for getting thread properties has been moved from
ChatClient
toChatThreadClient
and renamedgetProperties()
- Participants are now optional when creating a thread, the creator of the thread is added automatically
- Introduction of a new struct
CommunicationIdentifierModel
to repesent a union type that is either acommunicationUser
,phoneNumber
, ormicrosoftTeamsUser
.
- On
ChatClient
create(thread)
method, renamedrepeatabilityRequestID
torepeatabilityRequestId
ChatThreadClient
remove(participant)
method now acceptsCommunicationIdentifier
instead of a string- For
Participant
renameduser
property toid
OnCallsUpdated
event is raised when the call collection onCallAgent
is updated for outgoing calls.Hold
andResume
of an active call is fixed.
- Introduced ChatClient and ChatThreadClient to split operations on threads and operations within a particular thread
- Create thread sets repeatability-Request-ID for idempotency if not provided
- Introduced MessageContent model to replace string content property
- ChatThreadMember renamed to Participant, uses CommunicationUserIdentifier
- ChatMessage renamed to Message, uses CommunicationUserIdentifier
- ChatThread renamed to Thread, uses CommunicationUserIdentifier
- Added Cocoapods specs for AzureCore, AzureCommunication, AzureCommunicationChat, and AzureCommunicationCalling libraries.
- The
baseUrl
parameter has been renamed toendpoint
in theAzureCommunicationChatClient
initializers.
Version 1.0.0-beta.2 adds the Azure Communication Services Chat to the SDK.
- Azure Communication Services Chat (AzureCommunicationChat)