Skip to content

Latest commit

 

History

History

AzureCommunicationUIDemoApp

UI Mobile Library Demo App

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.

Getting Started

Prerequisites

Before running the sample for the first time

  1. After cloning the Repo in your local environment, cd to the AzureCommunicationUI folder in the root of the project directory.

  2. Run pod install, this generates a .xcworkspace file.

  3. (Optional) cd to the AzureCommunicationUIDemoApp folder inside the project directory

  4. (Optional) Run touch EnvConfig.xcconfig via the Command Line.

  5. (Optional) Add constants from following list to EnvConfig.xcconfig as the sample app's local configurations.

    • acsToken: a generated Azure Communication Services token
    • acsTokenUrl: the URL to request Azure Communication Services token
    • displayName: your preferred display name
    • groupCallId: this a type of UUID used to start and join a meeting
    • teamsMeetingLink: the URL to a Teams meeting

    EnvConfig

    Note: The EnvConfig.xcconfig file is created strictly for developers convenience. Those configurations can be input once the AzureCommunicationUIDemoApp is running.

Run Sample

  1. Open AzureCommunicationUI.xcworkspace file generated in the above step.

  2. Select AzureCommunicationUIDemoApp scheme and target at any iOS simulator.

  3. Hit Run or ⌘+R to start running.

    SelectSimulator