The Azure SDK team is pleased to announce our March 2021 client library releases.

Beta

  • Azure Communication Services Chat
  • Azure Communication Services Common

Installation Instructions

To use the latest GA and beta libraries, refer to the dependency information below, which may be copied into your projects Gradle build.gradle or Maven pom.xml file as appropriate. If you are using a different build tool, refer to its documentation on how to specify dependencies.

Gradle

Java

dependencies {
    ...
    implementation 'com.azure.android:azure-communication-chat:1.0.0-beta.7'
    implementation 'com.azure.android:azure-communication-common:1.0.0-beta.7'
}

Kotlin

dependencies {
    ...
    implementation("com.azure.android:azure-communication-chat:1.0.0-beta.7")
    implementation("com.azure.android:azure-communication-common:1.0.0-beta.7")
}

Maven

<dependency>
  <groupId>com.azure.android</groupId>
  <artifactId>azure-communication-chat</artifactId>
  <version>1.0.0-beta.7</version>
  <type>aar</type>
</dependency>
<dependency>
  <groupId>com.azure.android</groupId>
  <artifactId>azure-communication-common</artifactId>
  <version>1.0.0-beta.7</version>
  <type>aar</type>
</dependency>

Feedback

If you have a bug or feature request for one of the libraries, please post an issue to GitHub.

Release highlights

Azure Communication Services Common

1.0.0-beta.7 (Changelog)

Breaking Changes
  • Credential getToken now returns the newly added CommunicationAccessToken object instead of AccessToken.
  • Renamed getRefreshProactively to isRefreshProactively in ‘CommunicationTokenRefreshOptions’.
  • Removed constructor MicrosoftTeamsUserIdentifier(String userId, boolean isAnonymous, CommunicationCloudEnvironment cloudEnvironment) in MicrosoftTeamsUserIdentifier.
  • Made the following classes final:
    • CommunicationAccessToken
    • CommunicationTokenCredential
    • CommunicationTokenRefreshOptions
    • CommunicationUserIdentifier
    • MicrosoftTeamsUserIdentifier
    • PhoneNumberIdentifier
    • UnknownIdentifier
New Features
  • Introduced a new class: CommunicationAccessToken.

Azure Communication Services Chat

1.0.0-beta.7 (Changelog)

New Features
  • Added support for real time notifications with new methods in ChatClient /ChatAsyncClient:
    • startRealtimeNotifications
    • stopRealtimeNotifications`
    • on(chatEventId, listenerId, listener)
    • off(chatEventId, listenerId)
  • Added a sample chat app under the folder samples with the purpose of testing and playing around with the chat functionality.
Breaking Changes
  • Changed userId from the type CommunicationUserIdentifier to CommunicationIdentifierModel in the following classes:
    • ChatMessage
    • ChatMessageContent
    • ChatMessageReadReceipt
    • ChatParticipant
    • ChatThread
  • Renamed property initiator to initiatorCommunicationIdentifier in ChatMessageContent.
  • Renamed senderId to senderCommunicationIdentifier in ChatMessage and ChatMessageReadReceipt.
  • Renamed identifier to communicationIdentifier in ChatParticipant.
  • Renamed createdBy to createdByCommunicationIdentifier in ChatThread.

Need help

Latest Releases

View all the latest versions of Android packages here.