Skip to main content

Hey,

 

After migrating from 

"@intercom/intercom-react-native": "^3.0.5",

to latest version 

"@intercom/intercom-react-native": "^4.0.1",

the displaying of specific helpcenter collections does not work anymore.

Old code: Does not work after updating the SDK

const res = await Intercom.displayHelpCenterCollections(n‘1234567’])
// true

New code: Also does not work with the latest SDK

const collections = await Intercom.fetchHelpCenterCollections();
/**
*
{
"id": "1234567",
"title": "FAQ"
}
]
*/

const collectionIds = collections.map(_ => _.id);
// r "1234567" ]

const collectionContent = IntercomContent.helpCenterCollectionsWithIds(collectionIds);
/**
{
"type": "HELP_CENTER_COLLECTIONS",
"ids": "
"1234567"
]
}
*/
const res = await Intercom.presentContent(collectionContent);
// true

The problem is the same for both methods:
displayHelpCenterCollections and presentContent return true, but no Intercom popup is opened.

Hey @Thilo! Daniel from Customer Support Engineering here 🔧 

 

It seems like there may be an issue with this functionality in React. We may require some sensitive information from you to thoroughly investigate this, so we will escalate your case to our Messenger support team. In the meantime, can you try reverting to the older version of the SDK that was working for you? Thanks!


Hi ​@Daniel M15, this is still the case with the iOS SDK for react native. It works as expected on Android though 


Reply