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/tutorials/add-chat-push-notifications.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -160,10 +160,10 @@ Background Tasks offer a way to perform activities even when the app is not in t
160
160
To ensure uninterrupted access to chat services, you need to maintain valid user access tokens. Tokens typically have a default validity period (24 hours), after which they expire, requiring renewal. Implementing an auto-refresh mechanism guarantees that the token is always valid whenever the chat application is activated.<br>
161
161
The Chat SDK streamlines token management by automating the refresh process when a custom access token refresher is implemented. Complete the following steps to configure your chat application to support token auto-refresh:<br>
162
162
163
-
1.1 Establish a Service Tier for Token Issuance<br><br>
163
+
1.1 Establish a Service Tier for Token Issuance<br><br>
164
164
To ensure your chat application maintains continuous and secure user access, you need to implement a service tier dedicated to issuing tokens. One option is to leverage Azure Functions for this purpose.
165
165
166
-
To create your Azure Function, see [Build a trusted user access service using Azure Functions](XXX). This guide describes how to set up your function app and deploy the code needed to issue tokens.
166
+
To create your Azure Function, see [Build a trusted user access service using Azure Functions](../tutorials/trusted-service-tutorial.md). This guide describes how to set up your function app and deploy the code needed to issue tokens.
167
167
168
168
1.2 Implement the Token Refresher in Your Chat Application<br><br>
Adjust the Azure Function App to periodically send remote notifications via the Azure Notification Hub. These notifications are forwarded to the Apple Push Notification Service (APNS) and directed to the specified device. For more instructions, see [Functions-bindings-notification-hubs](https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-notification-hubs).
192
192
193
193
4.Handle Notifications in Your App<br>
194
-
In your iOS app, implement [the application instance method](https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1623013-application) to trigger a registration auto-refresh upon receiving a silent notification.
194
+
In your iOS app, implement [the application instance method](https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1623013-application) to trigger a registration auto-refresh upon receiving a silent notification.
195
+
196
+
## Related articles
197
+
198
+
-[Build a trusted user access service using Azure Functions](../tutorials/trusted-service-tutorial.md)
0 commit comments