I'm trying to integrate the SDK's with our react native app that uses expo. The only comment about it on this forum is to try this Expo Config Plugin.
I've followed the directions like so:
- I have Expo SDK 45.
- I Installed expo-cli@4.4.4
- I Installed @intercom/intercom-react-native@3.0.4
I followed this article which explained how to get my keys and run it in the app with this import.
import Intercom from '@intercom/intercom-react-native';
But I get this error:
TypeError: null is not an object (evaluating 'IntercomEventEmitter.UNREAD_COUNT_CHANGE_NOTIFICATION')
I searched this error and found a discussion where the only person who said they could get things to work ended up ejecting expo. This is something we are unwilling to do. If we cant get this to work we cant use intercom.
- Do I have to eject expo to get this to work?
- With this package installed, how do I access and initialize intercom?