The Azure SDK team is pleased to announce our April 2023 client library releases.

3 packages released this month.

Patch Updates (1)

  • Communication Chat

Beta Packages (2)

  • Communication Calling

  • Communication Common

Release highlights

Communication Calling 2.3.0-beta.5 Changelog

Features Added

  • New Teams captions feature that allows ACS users to enable closed captions in Teams meeting and allows Microsoft 365 users on ACS SDK to use closed captions in one to one and group calls. Users will also have the ability to update spoken language for the call and caption language for themselves (requires Teams Premium).
  • New raise Hand feature on ACS and Teams meetings.
  • New user facing diagnostics feature.
  • CallKit support improvements.

Communication Chat 1.3.1 Changelog

Bugs Fixed

  • Added ARM64 simulator support

Communication Common 1.2.0-beta.1 Changelog

Bugs fixed

  • Fixed typo in cloudEnvironment variable of MicrosoftTeamsUserIdentifier

Features Added

  • Optimization added: When the proactive refreshing is enabled and the token refresher fails to provide a token that’s not about to expire soon, the subsequent refresh attempts will be scheduled for when the token reaches half of its remaining lifetime until a token with long enough validity (>10 minutes) is obtained.
  • Added cancel() to CommunicationTokenCredential that cancels any internal auto-refresh operation. An instance of CommunicationTokenCredential cannot be reused once it has been canceled, otherwise the error will be returned.
  • Added support for a new communication identifier MicrosoftBotIdentifier.

Need help

Latest Releases

View all the latest versions of iOS packages here.

Installation Instructions

To install the latest GA and beta libraries, we recommend you use the Swift Package Manager. As an alternative, you may also integrate the libraries using CocoaPods.

Xcode

To add the Azure SDK for iOS to your application, follow the instructions in Adding Package Dependencies to Your App:

With your project open in Xcode 11 or later, select File > Swift Packages > Add Package Dependency… Enter the clone URL of the Swift Package Manager mirror repository for the library you wish to include (it will have the form SwiftPM-<NAME>, i.e.: https://github.com/Azure/SwiftPM-AzureCore.git) and click Next. For the version rule, specify the exact version or version range you wish to use with your application and click Next. Finally, place a checkmark next to each client library you wish to use with your application, ensure your application target is selected in the Add to target dropdown, and click Finish.

Swift CLI

To add the Azure SDK for iOS to your application, follow the example in Importing Dependencies:

Open your project’s Package.swift file and add a new package dependency to your project’s dependencies section, specifying the clone URL of the Swift Package Manager mirror repository and the version specifier you wish to use:

// swift-tools-version:5.3
dependencies: [
    ...
    .package(name: "AzureCommunicationChat", url: "https://github.com/Azure/SwiftPM-AzureCommunicationChat.git", from: "1.3.1"),
    .package(name: "AzureCommunicationCommon", url: "https://github.com/Azure/SwiftPM-AzureCommunicationCommon.git", from: "1.2.0-beta.1"),
]

Next, add each client library you wish to use in a target to the target’s array of dependencies:

targets: [
    ...
    .target(
        name: "MyTarget",
        dependencies: [
            "AzureCommunicationChat",
            "AzureCommunicationCommon",
            ...
        ]
    )
]

Cocoapods

CocoaPods is a dependency manager for Objective-C and Swift projects. You can install it with the following command:

$ [sudo] gem install cocoapods

CocoaPods 1.5+ is required.

To integrate one or more client libraries into your project using CocoaPods, specify them in your Podfile, providing the version specifier you wish to use. To ensure compatibility when using multiple client libraries in the same project, use the same version specifier for all Azure SDK client libraries within the project:

platform :ios, '12.0'
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
target 'MyTarget' do
    pod 'AzureCommunicationCalling', '2.3.0-beta.5'
    pod 'AzureCommunicationChat', '1.3.1'
    pod 'AzureCommunicationCommon', '1.2.0-beta.1'
    ...
end

Then, run the following command:

$ pod install

Feedback

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