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/how-tos/calling-sdk/includes/install-sdk/install-sdk-ios.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,9 @@ ms.author: rifox
10
10
11
11
### Create the Xcode project
12
12
13
-
In Xcode, create a new iOS project and select the **Single View App** template. This quickstart uses the [SwiftUI framework](https://developer.apple.com/xcode/swiftui/), so you should set **Language** to **Swift** and set **Interface** to **SwiftUI**.
13
+
In Xcode, create a new iOS project and select the **Single View App** template. This article uses the [SwiftUI framework](https://developer.apple.com/xcode/swiftui/), so you should set **Language** to **Swift** and set **Interface** to **SwiftUI**.
14
14
15
-
You're not going to create tests during this quickstart. Feel free to clear the **Include Tests** checkbox.
15
+
You're not going to create tests in this article. Feel free to clear the **Include Tests** checkbox.
16
16
17
17
:::image type="content" source="../../../../quickstarts/voice-video-calling/media/ios/xcode-new-ios-project.png" alt-text="Screenshot that shows the window for creating a project within Xcode.":::
18
18
@@ -27,7 +27,9 @@ You're not going to create tests during this quickstart. Feel free to clear the
Copy file name to clipboardExpand all lines: articles/communication-services/how-tos/calling-sdk/push-notifications.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,11 @@ Push notifications send information from your application to users' devices. You
20
20
21
21
In this article, you learn how to enable push notifications for Azure Communication Services calls. Communication Services provides integrations with [Azure Event Grid](../../../event-grid/overview.md) and [Azure Notification Hubs](../../../notification-hubs/notification-hubs-push-notification-overview.md) that enable you to add push notifications to your apps.
22
22
23
-
## Overview of TTL tokens
23
+
## <aname = "ttl-token"></a> Overview of TTL tokens
24
24
25
25
The time-to-live (TTL) token is a setting that determines the length of time that a notification token stays valid before becoming invalid. This setting is useful for applications where user engagement doesn't require daily interaction but remains critical over longer periods.
26
26
27
-
The TTL configuration allows the management of push notifications' lifecycle. It reduces the need for frequent token renewals while helping to ensure that the communication channel between the application and its users remains open and reliable for extended durations.
27
+
The TTL configuration allows the management of push notifications' life cycle. It reduces the need for frequent token renewals while helping to ensure that the communication channel between the application and its users remains open and reliable for extended durations.
28
28
29
29
Currently, the maximum value for TTL is **180 days (15,552,000 seconds)**, and the minimum value is **5 minutes (300 seconds)**. You can enter this value and adjust it to fit your needs. If you don't provide a value, the default value is **24 hours (86,400 seconds)**.
30
30
@@ -33,15 +33,18 @@ After the Register Push Notification API is called, the device token information
33
33
If you want to revoke an identity, follow [this process](../../concepts/identity-model.md#revoke-or-update-access-token). After the identity is revoked, the registrar entry should be deleted.
34
34
35
35
> [!NOTE]
36
-
> For a Microsoft Teams user, the maximum TTL value is **24 hrs (86,400 seconds)**. There's no way to increase this value. You should wake up the application every 24 hours in the background and perform the registration of the device token.
36
+
> For a Microsoft Teams user, the maximum TTL value is **24 hrs (86,400 seconds)**. There's no way to increase this value. You should wake up the application every 24 hours in the background and register the device token.
37
37
>
38
38
> To wake up the application, fetch the new token, and perform the registration, follow the [instructions for the iOS platform](https://developer.apple.com/documentation/uikit/app_and_environment/scenes/preparing_your_ui_to_run_in_the_background/using_background_tasks_to_update_your_app) or the [instructions for the Android platform](https://developer.android.com/develop/background-work/background-tasks).
39
39
40
40
## Prerequisites
41
41
42
42
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
43
+
43
44
- A deployed Communication Services resource. [Create a Communication Services resource](../../quickstarts/create-communication-resource.md).
45
+
44
46
- A user access token to enable the calling client. For more information, see [Create and manage access tokens](../../quickstarts/identity/access-tokens.md).
47
+
45
48
- Optional: Completion of the [quickstart to add voice calling to your application](../../quickstarts/voice-video-calling/getting-started-with-calling.md).
46
49
47
50
::: zone pivot="platform-web"
@@ -62,8 +65,8 @@ If you want to revoke an identity, follow [this process](../../concepts/identity
62
65
63
66
## Related content
64
67
65
-
-[Learn how to subscribe to events](./events.md)
66
-
-[Learn how to manage calls](./manage-calls.md)
67
-
-[Learn how to manage video](./manage-video.md)
68
-
-[Migrate Android SDK push notifications to FCM v1](../../tutorials/call-chat-migrate-android-push-fcm-v1.md)
69
-
-[Register for Android SDK push notifications using FCM v1](../../tutorials/call-chat-register-android-push-fcm-v1.md)
0 commit comments