I am creating mobile app using React Native (Expo) and I would love to utilize intercom there. I am following all instructions and example repos and in the end I end up with an error..
Wherever I put the import and I do anything with Intercom object I have:
ERROR [RangeError: Maximum call stack size exceeded (native stack depth)]
> 13 | import Intercom from '@intercom/intercom-react-native';
| ^
I have my app.json configured
...
[
"@intercom/intercom-react-native",
{
"useManualInit": true
}
]
…
I follow all the debugging steps and in the end there is above error.
If I import the Intercom object from @intercom/intercom-react-native dependency nothing happens until I do anything with it (console.log it or execute Intercom.initialize(...))
I am using expo 54.0.22 with react-native 0.81.5
Does anyone have an Idea what is going on?