Azure SDK for Android (March 2021)
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
getTokennow returns the newly addedCommunicationAccessTokenobject instead ofAccessToken. - Renamed
getRefreshProactivelytoisRefreshProactivelyin ‘CommunicationTokenRefreshOptions’. - Removed constructor
MicrosoftTeamsUserIdentifier(String userId, boolean isAnonymous, CommunicationCloudEnvironment cloudEnvironment)inMicrosoftTeamsUserIdentifier. - Made the following classes final:
CommunicationAccessTokenCommunicationTokenCredentialCommunicationTokenRefreshOptionsCommunicationUserIdentifierMicrosoftTeamsUserIdentifierPhoneNumberIdentifierUnknownIdentifier
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
sampleswith the purpose of testing and playing around with the chat functionality.
Breaking Changes
- Changed
userIdfrom the typeCommunicationUserIdentifiertoCommunicationIdentifierModelin the following classes:ChatMessageChatMessageContentChatMessageReadReceiptChatParticipantChatThread
- Renamed property
initiatortoinitiatorCommunicationIdentifierinChatMessageContent. - Renamed
senderIdtosenderCommunicationIdentifierinChatMessageandChatMessageReadReceipt. - Renamed
identifiertocommunicationIdentifierinChatParticipant. - Renamed
createdBytocreatedByCommunicationIdentifierinChatThread.
Need help
- For reference documentation visit the Azure SDK for Android documentation.
- For tutorials, samples, quick starts and other documentation, visit the Azure SDK for Android repository.
- File an issue via Github Issues.
- Check previous questions or ask new ones on
StackOverflow using the
azure-android-sdktag.
Latest Releases
View all the latest versions of Android packages here.