You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/samples/includes/ios-calling-hero.md
+26-14Lines changed: 26 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ The Azure Communication Services **Group Calling Hero Sample for iOS** demonstra
16
16
17
17
## Download code
18
18
19
-
Find the project for this sample on [GitHub](https://github.com/Azure-Samples/communication-services-ios-calling-hero). A version of the sample with [Teams Interop](../../concepts/teams-interop.md) can be found on a separate [Branch](https://github.com/Azure-Samples/communication-services-ios-calling-hero/).
19
+
Find the project for this sample on [GitHub](https://github.com/Azure-Samples/communication-services-ios-calling-hero).
20
20
21
21
## Overview
22
22
@@ -26,13 +26,23 @@ Here's what the sample looks like:
26
26
27
27
:::image type="content" source="../media/calling/landing-page-ios.png" alt-text="Screenshot showing the landing page of the sample application.":::
28
28
29
-
When you press the "Start new call" button, the iOS application creates a new call and joins it. The application allows you to join an existing Azure Communication Services call by specifying the existing call's ID.
30
-
31
-
After joining a call, you'll be prompted to give the application permission to access your camera and microphone. You'll also be asked to provide a display name.
29
+
When you press the "Start new call" button, the iOS application prompts you to enter your display
30
+
name to use for the call.
32
31
33
32
:::image type="content" source="../media/calling/pre-call-ios.png" alt-text="Screenshot showing the pre-call screen of the sample application.":::
34
33
35
-
Once you configure your display name and devices, you can join the call. You'll see the main call canvas where the core calling experience lives.
34
+
After tapping "Next" on the "Start Call" screen, you have the opportunity to share the group ID of
35
+
the call via the iOS share sheet.
36
+
37
+
:::image type="content" source="../media/calling/share-call-ios.png" alt-text="Screenshot showing the share group ID screen of the sample application.":::
38
+
39
+
The application also allows you to join an existing Azure Communication Services call by specifying the existing call's ID or teams ID link.
40
+
41
+
:::image type="content" source="../media/calling/join-call-ios.png" alt-text="Screenshot showing the join call screen of the sample application.":::
42
+
43
+
After joining a call, you'll be prompted to give the application permission to access your camera and microphone, if not already authorized. Keep in mind that, like all AVFoundation-based apps, true audio and video functionality is only available on real hardware.
44
+
45
+
Once you configure your display name and join the call, you'll see the main call canvas where the core calling experience lives.
36
46
37
47
:::image type="content" source="../media/calling/main-app-ios.png" alt-text="Screenshot showing the main screen of the sample application.":::
38
48
@@ -58,11 +68,14 @@ The group calling sample can be run locally using XCode. Developers can either u
58
68
59
69
1. Install dependencies by running `pod install`.
60
70
2. Open `AzureCalling.xcworkspace` in XCode.
61
-
3. Update `AppSettings.plist`. Set the value for the `communicationTokenFetchUrl` key to be the URL for your Authentication Endpoint.
71
+
3. Create a text file at the root, called `AppSettings.xcconfig` and set the value:
72
+
```text
73
+
communicationTokenFetchUrl = <your authentication endpoint, without the https:// component>
74
+
```
62
75
63
76
### Run sample
64
77
65
-
Build and run the sample in XCode.
78
+
Build and run the sample in XCode, using the AzureCalling target on the simulator or device of your choice.
66
79
67
80
## (Optional) Securing an authentication endpoint
68
81
@@ -77,13 +90,12 @@ With additional configuration, this sample supports connecting to an **Azure Act
77
90
78
91
:::image type="content" source="../media/calling/aad-overview.png" alt-text="Azure Active Directory configuration on Azure portal.":::
79
92
80
-
3. Open `AppSettings.plist` in Xcode, add the following key values:
81
-
-`communicationTokenFetchUrl`: The URL to request Azure Communication Services token
82
-
-`isAADAuthEnabled`: A boolean value to indicate if the Azure Communication Services token authentication is required or not
83
-
-`aadClientId`: Your Application (client) ID
84
-
-`aadTenantId`: Your Directory (tenant) ID
85
-
-`aadRedirectURI`: The redirect URI should be in this format: `msauth.<app_bundle_id>://auth`
86
-
-`aadScopes`: An array of permission scopes requested from users for authorization. Add `<Application ID URI>/user_impersonation` to the array to grant access to authentication endpoint
93
+
3. Create a `AppSettings.xcconfig` file at the root if not already present and add the values:
94
+
```text
95
+
communicationTokenFetchUrl = <Application ID URI, without the https:// component>
0 commit comments