The sample app is a native Android application developed to demonstrate Azure Communication UI library. Showcases use of both Java and Kotlin to run library.
- An Azure account with an active subscription. Create an account for free.
- An OS running Android Studio.
- 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 .
- Open azure-communication-ui folder in Android Studio
- Select demo-app as a build configuration
- (Optional) for your convinience you may configure default values for the app.
Create
local.properties
file in the/azure-communication-ui
directory:TOKEN_FUNCTION_URL
="..." # the URL to request Azure Communication Services tokenACS_TOKEN
="..." # Azure Communication Services tokenACS_IDENTITY
="..." # Azure Communication Services identityUSER_NAME
="..." # your preferred display nameGROUP_CALL_ID
="..." # this a type of UUID used to start and join a meetingTEAMS_MEETING_LINK
="..." # the URL to a Teams meetingEND_POINT_URL
="..." # the URL for chat end pointIDENTITY
="..." # the identity for chatTHREAD_ID
="..." # chat thread idPARTICIPANT_MRIS
="..." # the MRIs for remote participants to dial
- For build variants: You can add variants selection for build to indicate which demo app you want to run or debug ( calling, chat, call-with-chat)
- Build and Run
- Follow QuickStart to setup Push Notification Hub for ACS Resource or EventGrid
- For
demo-app
addgoogle-service.json
- In
local.properties
setENABLE_GOOGLE_SERVICES=true