Answered

Can't display collections using intercom-react-native 4.0.1 mobile SDK

  • 16 February 2023
  • 4 replies
  • 218 views

I'm wondering if this may be a bug, but I can't seem to find anywhere else to report bugs.

 

When I use intercom-react-native 4.0.1 and running it on iOS

 

Intercom.present() works and displays help and displaying articles like this also works:

await Intercom.presentContent(
IntercomContent.articleWithArticleId('5747692')
);

However, when I try to display a collection using the following code:

await Intercom.presentContent(
IntercomContent.helpCenterCollectionsWithIds(['3860234'])
);

The collection fails to display and we get the following error in the XCode output

 

[Intercom] INTERCOM ERROR - 'Each object in the array' must be an NSString and can't be nil or empty

 

We've rolled back to using v3.0.5 of intercom-react-native and the collections display is working as expected with that version.

icon

Best answer by Oseas 17 February 2023, 17:10

View original

4 replies

Hey @user1413​! Oséas here from the Customer Support Specialist team 🕵️

 

Our engineers are aware of this issue, and we have an internal bug report to track this. Could you please reach out to us via the Messenger so we can add the conversation to the report and, if necessary, request more info? Make sure to mention this thread when opening the conversation, so my teammate who will get the convo knows which issue to link. Once we add it, any updates made will generate an internal notification in the convo, and we'll be able to notify you.

 

Thank you very much for flagging this to us - really appreciate it!

 

For other users experiencing this same issue, please reach out to us via the Messenger so we can add your case to our internal report 🙏

Hey @user1413​! Oséas here from the Customer Support Specialist team 🕵️

 

Our engineers are aware of this issue, and we have an internal bug report to track this. Could you please reach out to us via the Messenger so we can add the conversation to the report and, if necessary, request more info? Make sure to mention this thread when opening the conversation, so my teammate who will get the convo knows which issue to link. Once we add it, any updates made will generate an internal notification in the convo, and we'll be able to notify you.

 

Thank you very much for flagging this to us - really appreciate it!

 

For other users experiencing this same issue, please reach out to us via the Messenger so we can add your case to our internal report 🙏

What is the progress here? Why is the ticket marked as solved without a clear answer of when this issue was solved?


Latest version 4.0.1 is from Nov 23, 2022 and we still receive this issue making upgrading intercom-react-native impossible for us right now.

Did intercom stop actively supporting react-native?

Hello, same problem here, it doesn’t seem to be solved

i fixed it here: https://github.com/intercom/intercom-react-native/pull/88
if it’s possible to ask your engineer team review it please.

Reply