Recent searches
No recent searches
Deeplink to Article in Support SDK (iOS)
Zendesk Luminary
Posted Nov 10, 2021
Hi,
We will be running a notification in our app with a link to a help centre article, and we would prefer if the help centre article opened in the Zendesk Support SDK, rather than opening the mobile help centre in WebView. Is this possible? I've checked the documentation for the Classic Support SDK but couldn't find this.
Thanks!
0
1
1 comment
Mick O'Donnell
Hi Chris,
This doesn't work out of the box with the Support SDK, but if you follow the following steps, you should be able to do this with the Support SDK:
1. You can access info about the push notification (title, body, ticket_id) through the func userNotificationCenter(center:didReceive:withCompletionHandler:) response parameter (response.notification.request.content.userInfo).
2. If the push notification is a zendesk push, you would then need to parse the body of the notification to get the article url. (Could be title).
3. Then parse the article url to get the article id.
4. Use the Show article API to present the article ui for that id.
Kind regards,
Mick
0