|
| 1 | +--- |
| 2 | +title: include file |
| 3 | +description: include file |
| 4 | +services: azure-communication-services |
| 5 | +author: iaulakh |
| 6 | +manager: james.cheng |
| 7 | +ms.service: azure-communication-services |
| 8 | +ms.subservice: azure-communication-services |
| 9 | +ms.date: 02/09/2023 |
| 10 | +ms.topic: include |
| 11 | +ms.custom: include file |
| 12 | +ms.author: iaulakh |
| 13 | +--- |
| 14 | + |
| 15 | +## Azure Communication UI Mobile Library for .NET MAUI |
| 16 | + |
| 17 | +This project demonstrates the integration of Azure Communication UI library into .NET MAUI application. It utilizes Azure Communication Services and the native Azure Communication Services UI library to build a calling experience that features both voice and video calling. |
| 18 | + |
| 19 | +### Download code |
| 20 | + |
| 21 | +Find the project for this sample on [GitHub](https://github.com/Azure-Samples/communication-services-ui-library-maui). |
| 22 | + |
| 23 | +### Features |
| 24 | + |
| 25 | +Refer to the native [UI Library overview](../../concepts/ui-library/ui-library-overview.md) |
| 26 | + |
| 27 | +### Prerequisites |
| 28 | + |
| 29 | +- Visual Studio [Setup Instructions](https://learn.microsoft.com/dotnet/maui/get-started/installation) |
| 30 | +- An Azure account with an active subscription. For details, see [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F). |
| 31 | +- iOS [Requirements](https://github.com/Azure/communication-ui-library-ios#requirements) |
| 32 | +- Android [Requirements](https://github.com/Azure/communication-ui-library-android#prerequisites) |
| 33 | +- An Azure Communication Services resource. For details, see [Create an Azure Communication Services resource](../../quickstarts/create-communication-resource.md). |
| 34 | +- An Azure Function running the [Authentication Endpoint](../../tutorials/trusted-service-tutorial.md) to fetch access tokens. |
| 35 | + |
| 36 | +### Run sample app |
| 37 | + |
| 38 | +Clone [repo](https://github.com/Azure-Samples/communication-services-ui-library-maui). |
| 39 | + |
| 40 | +#### For Android |
| 41 | + |
| 42 | +##### Visual Studio Mac/Windows 2022 |
| 43 | + |
| 44 | +1. Navigate to `/AndroidMauiBindings` and in this directory in terminal run `./downloadJarScript.sh`. `GitBash` or `Windows Subsystem for Linux (WSL)` should be enabled to run `.sh` on Windows. |
| 45 | +2. Open `CommunicationCallingSampleMauiApp/CommunicationCallingSampleMauiApp.sln` in Visual Studio |
| 46 | +3. Edit `CommunicationCallingSampleMauiApp/CommunicationCallingSampleMauiApp.csproj` and set `<TargetFrameworks>net7.0-android</TargetFrameworks>`. |
| 47 | +4. Select android device/emulator in visual studio and run `CommunicationCallingSampleMauiApp` app. |
| 48 | + |
| 49 | +#### For iOS |
| 50 | + |
| 51 | +##### Visual Studio Mac 2022 |
| 52 | + |
| 53 | +1. Navigate to `communication-services-ui-library-maui/iOSMauiBindings/ProxyLibs/CommunicationUI-Proxy` and in this directory in terminal run `./iOSFramework.sh -d`. |
| 54 | +2. Open `CommunicationCallingSampleMauiApp/CommunicationCallingSampleMauiApp.sln` in Visual Studio |
| 55 | +3. Edit `CommunicationCallingSampleMauiApp/CommunicationCallingSampleMauiApp.csproj` and set `<TargetFrameworks>net7.0-ios</TargetFrameworks>`. |
| 56 | +4. Select iOS device/simulator in visual studio and run `CommunicationCallingSampleMauiApp` app. |
| 57 | + |
| 58 | +### Highlights and feedback |
| 59 | + |
| 60 | +Visit [GitHub](https://github.com/Azure-Samples/communication-services-ui-library-maui#key-sample-highlights) to learn more and discover more capabilities and share your valuable feedback. |
| 61 | + |
0 commit comments