Skip to content

Commit 1072ec6

Browse files
committed
Add tabs and pivot fix name
1 parent c05ac3f commit 1072ec6

File tree

3 files changed

+34
-18
lines changed

3 files changed

+34
-18
lines changed

articles/communication-services/concepts/best-practices.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.date: 06/30/2021
1010
ms.topic: conceptual
1111
ms.service: azure-communication-services
1212
ms.custom: devx-track-js
13-
zone_pivot_groups: acs-plat-web-mobile
13+
zone_pivot_groups: acs-plat-web-native
1414
---
1515

1616
# Best practices: Azure Communication Services calling SDKs
@@ -20,7 +20,7 @@ This article provides information about best practices related to the Azure Comm
2020
[!INCLUDE [Web](includes/best-practices-web.md)]
2121
::: zone-end
2222

23-
::: zone pivot="platform-mobile"
23+
::: zone pivot="platform-native"
2424
[!INCLUDE [Native](includes/best-practices-native.md)]
2525
::: zone-end
2626

articles/communication-services/concepts/includes/best-practices-native.md

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,40 @@ This section provides information about best practices associated with the Azure
1717

1818
## Supported platforms
1919

20-
### Android Calling SDK support
20+
These are the minimum OS requirements for each platform to ensure optimal functionality of the Calling Native SDKs.
2121

22-
- Support for Android API Level 21 or Higher.
23-
- Support for Java 7 or higher.
24-
- Support for Android Studio 2.0.
25-
- **Android Auto** and **IoT devices running Android** are currently not supported.
26-
27-
### iOS Calling SDK support
22+
# [iOS](#tab/ios)
2823

2924
- Support for iOS 10.0+ at build time, and iOS 12.0+ at run time.
3025
- Xcode 12.0+.
3126
- Support for **iPadOS** 13.0+.
3227

33-
### Windows SDK
28+
# [Android](#tab/android)
29+
30+
- Support for Android API Level 21 or Higher.
31+
- Support for Java 7 or higher.
32+
- Support for Android Studio 2.0.
33+
- **Android Auto** and **IoT devices running Android** are currently not supported.
34+
35+
# [Windows](#tab/windows)
3436

3537
- Support for UWP (Universal Windows Platform).
3638
- Support for WinUI 3.
3739

40+
---
41+
3842
## App request device permissions
3943

40-
### Android permission
44+
To use the Calling Native SDKs for making or receiving calls, it's necessary to authorize each platform to access device resources. As a developer, you should prompt the user for access and ensure that it is enabled. The consumer will authorize these access rights, so it's important to verify that they have been granted permission previously.
45+
46+
# [iOS](#tab/ios)
47+
48+
- `NSMicrophoneUsageDescription` for microphone access.
49+
- `NSCameraUsageDescription` for camera access.
50+
51+
# [Android](#tab/android)
4152

42-
In order to request permissions required to make a call, they must be declared in the Application Manifest (`app/src/main/AndroidManifest.xml`). Replace the content of file with the following code:
53+
In the Application Manifest (`app/src/main/AndroidManifest.xml`). Replace the content of file with the following code:
4354

4455
```xml
4556
<uses-permission android:name="android.permission.INTERNET" />
@@ -52,19 +63,16 @@ In order to request permissions required to make a call, they must be declared i
5263
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MICROPHONE" />
5364
```
5465

55-
### iOS permissions
56-
57-
- `NSMicrophoneUsageDescription` for microphone access.
58-
- `NSCameraUsageDescription` for camera access.
59-
60-
### Windows permissions
66+
# [Windows](#tab/windows)
6167

6268
Go to `Package.appxmanifest` and select capabilities:
6369

6470
- `Internet (Client)` & `Internet (Client & Server)` for network access.
6571
- `Microphone` to access the audio feed of the microphone.
6672
- `Webcam` to access the video feed of the camera.
6773

74+
---
75+
6876
## Configure the logs
6977

7078
Implementing **logging** as per the [logs file retrieval tutorial](../../tutorials/log-file-retrieval-tutorial.md) is more critical than ever. Detailed logs help in diagnosing issues specific to device models or OS versions that meet the minimum SDK criteria. We encourage to the developers that start configuring the Logs API without the logs the Microsoft Support team **won't be able** to help debug and troubleshoot the calls.

articles/zone-pivot-groups.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1565,6 +1565,14 @@ groups:
15651565
title: Web
15661566
- id: platform-mobile
15671567
title: Mobile
1568+
- id: acs-plat-web-native
1569+
title: Platform
1570+
prompt: Choose a platform
1571+
pivots:
1572+
- id: platform-web
1573+
title: Web
1574+
- id: platform-native
1575+
title: Native
15681576
- id: acs-plat-web-ios-android-windows
15691577
title: Platform
15701578
prompt: Choose a platform

0 commit comments

Comments
 (0)