Closed guangyu-moves closed 2 years ago
Oops, here is another screenshot showing No articles found
. Sometimes it shows the other screenshot.
I have many articles in the Zendesk Help Center
, and they are all set to visible
.
Issue resolved.
Reason is that I cannot pass the same email for both the chat account and the anonymousIdentity. Not sure why, but this only affects iOS.
@guangyu-moves we have the same issue as you. Can you elaborate ?
@MathisBarre It's been a while but I think I fixed my issue by using a different email for the chat account and the anonymousIdentity. I think it might have to do with https://github.com/Saranshmalik/react-native-zendesk/blob/master/ios/RNZendeskChat.m#L67
Anyone else who might run into this issue, need to set the identity
RNZendesk.setUserIdentity({email: email, name: name})
I did that before calling showHelpCenter
RNZendesk.showHelpCenter({ withChat: true, chatOnly: false, name: name, email: email })
Honestly, this SDK is a mess, we ended up displaying web help center with a webview
Hello @Saranshmalik! Thanks for creating this package. I have a small issue with the Help Center.
I initialize a fresh repo with
react-native init
and tried bothChat
andHelp Center
. WhileChat
started up, theHelp Center
showedno articles found
Have you came across this before? Logs are in the screenshot below. Thank you!