The sample app is a native iOS application developed using both SwiftUI and UIKit frameworks. It uses the Azure Communication UI library to empower the user experience.
- An Azure account with an active subscription. Create an account for free.
- A Mac running Xcode, along with a valid developer certificate installed into your Keychain. CocoaPods must also be installed to fetch dependencies.
- A deployed Communication Services resource. Create a Communication Services resource.
- Azure Communication Services Token. See example
- (Optional) Create Azure Communication Services Token service URL. See example.
-
After cloning the Repo in your local environment,
cdto theAzureCommunicationUIfolder in the root of the project directory. -
Run
pod install, this generates a.xcworkspacefile. -
(Optional) cd to the <project_folder>/AzureCommunicationUI/AzureCommunicationUIDemoApp/Sources folder.
-
(Optional) Run
touch EnvConfig.xcconfigvia the Command Line. -
(Optional) Add constants from following list to
EnvConfig.xcconfigas the sample app's local configurations.- Shared:
acsToken: a generated Azure Communication Services tokenacsTokenUrl: the URL to request Azure Communication Services token (You must use https:/$()/ in the format of URL)displayName: your preferred display name
- for Calling:
expiredAcsToken: an expired Azure Communication Services token for UI testinggroupCallId: this a type of UUID used to start and join a meeting for CallingteamsMeetingLink: the URL to a Teams meeting (You must use https:/$()/ in the format of URL) for CallingaadToken: the AAD token for Calling
- for Chat:
userId: the ID of the local user for ChatthreadId: the ID of chat thread for ChatendpointUrl: the URL of where the chat endpoint should be
Note: The
EnvConfig.xcconfigfile is created strictly for developers convenience. Those configurations can be input once theAzureCommunicationUIDemoAppis running. - Shared:

