Recent searches


No recent searches

"No Articles Found" trying to open Zendesk Help Center through iOS Mobile SDK



Posted Dec 08, 2021

I've enabled Help Center for my Mobile SDK, and I have articles published (and they show up when you go to the help center webpage). However, when I try to open Help Center through iOS mobile SDK, it just opens up a page that says "No Articles Found".

This is the code I have to open it:

UIViewController *helpCenter = [ZDKHelpCenterUi buildHelpCenterOverviewUiWithConfigs:@[]];
UIViewController *topController = [UIApplication sharedApplication].keyWindow.rootViewController;
while (topController.presentedViewController) {
topController = topController.presentedViewController;
}
UINavigationController *navControl = [[UINavigationController alloc] initWithRootViewController:helpCenter];
[topController presentViewController:navControl animated:YES completion:nil];

And this is my initialization code:

[ZDKZendesk initializeWithAppId:appId
clientId:clientId
zendeskUrl:url];
[ZDKSupport initializeWithZendesk: [ZDKZendesk instance]];
[ZDKAnswerBot initializeWithZendesk:[ZDKZendesk instance] support:[ZDKSupport instance]];
[ZDKChat initializeWithAccountKey:channelKey queue: dispatch_get_main_queue()];

I've tried opening a specific section and article, and neither works. I can't figure out if I'm misconfigured something, but opening help center through website works fine so it seems good?

Any help would be appreciated. Let me know if there is more info I can provide.

Thanks,
Mirza


0

0

0 comments

Please sign in to leave a comment.

Didn't find what you're looking for?

New post