Recent searches


No recent searches

Deeplink to Article in Support SDK (iOS)



image avatar

Chris Boyd

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

image avatar

Mick O'Donnell

Zendesk Product Manager

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


Please sign in to leave a comment.

Didn't find what you're looking for?

New post