Skip to content

Commit d4fdf89

Browse files
Merge pull request #226916 from iaulakh/patch-19
Communication UI library QuickStart for .NET MAUI
2 parents f6b4050 + 0f79563 commit d4fdf89

File tree

3 files changed

+71
-4
lines changed

3 files changed

+71
-4
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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+

articles/communication-services/samples/ui-library-cross-platform.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Cross Platform development using the UI library
33
titleSuffix: An Azure Communication Services sample overview
4-
description: Cross Platform development solutions using the UI library to enable Xamarin and React Native developers build communication applications
4+
description: Cross Platform development solutions using the UI library to enable .NET MAUI, Xamarin and React Native developers build communication applications
55
author: jorgegarc
66
manager: anujbh
77
services: azure-communication-services
@@ -11,14 +11,18 @@ ms.date: 08/30/2021
1111
ms.topic: overview
1212
ms.service: azure-communication-services
1313
ms.subservice: calling
14-
zone_pivot_groups: acs-xamarin-react
14+
zone_pivot_groups: acs-maui-xamarin-react
1515
---
1616

1717
# Get started with Cross Platform development using the UI library
1818

1919
[!INCLUDE [Public Preview Notice](../includes/public-preview-include.md)]
2020

21-
Azure Communication Services introduces Cross Platform development using **Xamarin and React Native** solutions. This sample demonstrates how Azure Communication Services Calling integrates the UI Library for mobile platforms and create the bindings to allow developers to begin building with the calling capabilities.
21+
Azure Communication Services introduces Cross Platform development using **.NET MAUI, Xamarin and React Native** solutions. This sample demonstrates how Azure Communication Services Calling integrates the UI Library for mobile platforms and create the bindings to allow developers to begin building with the calling capabilities.
22+
23+
::: zone pivot="platform-maui"
24+
[!INCLUDE [.NET MAUI](./includes/ui-maui.md)]
25+
::: zone-end
2226

2327
::: zone pivot="platform-xamarin"
2428
[!INCLUDE [Xamarin](./includes/ui-xamarin.md)]

articles/zone-pivot-groups.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1993,10 +1993,12 @@ groups:
19931993
- id: programming-language-python
19941994
title: Python
19951995
# Owner: jorgegarc
1996-
- id: acs-xamarin-react
1996+
- id: acs-maui-xamarin-react
19971997
title: Cross-platform pivots
19981998
prompt: Choose a platform
19991999
pivots:
2000+
- id: platform-maui
2001+
title: .NET MAUI
20002002
- id: platform-xamarin
20012003
title: Xamarin
20022004
- id: platform-react

0 commit comments

Comments
 (0)