The Azure SDK team is pleased to announce our May 2022 client library releases.

GA

  • Communication Chat

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.1.0'
}

Kotlin

dependencies {
    ...
    implementation("com.azure.android:azure-communication-chat:1.1.0")
}

Maven

<dependency>
    <groupId>com.azure.android</groupId>
    <artifactId>azure-communication-chat</artifactId>
    <version>1.1.0</version>
</dependency>

Feedback

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

Release highlights

Communication Chat 1.1.0 Changelog

Features Added

  • Added support for metadata in messages.
  • Added options class TypingNotificationOptions for setting SenderDisplayName of the notification sender.
  • Added SenderDisplayName to TypingIndicatorReceivedEvent.
  • Added support FCM push notifications:
    • Added the following methods to ChatAsyncClient and ChatClient:
      • startPushNotifications
      • stopPushNotifications
      • handlePushNotification
      • addPushNotificationHandler
      • removePushNotificationHandler
    • Added ChatPushNotification as the type for passing a push notification payload.
    • Added instructions in the README.md of our sample app on how to setup FCM push notifications.
    • Added code in sample app for FCM push notification end to end scenario.
  • Added startRealtimeNotifications(Context context, Consumer<Throwable> errorHandler) to ChatAsyncClient and ChatClient.

Bugs Fixed

  • Fixed a dependency issue with azure-communication-common.
  • Fixed a BUG in real-time notification payload for GCCH.

Other Changes

  • Deprecated startRealtimeNotifications(String skypeUserToken, Context context) in ChatAsyncClient and ChatClient. Users should utilize startRealtimeNotifications(Context context, Consumer<Throwable> errorHandler) instead.

Need help

Latest Releases

View all the latest versions of Android packages here.