Skip to main content

I'm developing react native app using intercom (@intercom/intercom-react-native v5.0.0). Currently I'm facing problem that's intercom doesn't update for new message coming. Only update when I open conversation from launcher or kill the app and open again. I already set up push notification for the app and can receive it when app in background. Please help me

Hi @Viet Tang ! Ebenezer here from Engineering Support👋.

I see you were able to get in touch with our team through the Messenger and they were able to sort this out for you.

The solution seemed quite involved so I won’t post the answer here as it contains some sensitive information about your set up.🙏

 


@Ebenezer.Laleye I’m having this same issue using 7.2.1


I also have this issue.

expo: 52.0.28
@intercom/intercom-react-native: 8.3.0


If new messages aren’t triggering updates in Intercom for React Native, try checking if the app is properly listening for real-time updates. Make sure the Intercom SDK is correctly integrated and that background app refresh is enabled. Also, test if manually refreshing the conversation list updates the messages.


For anyone still encountering this issue on iPhone:

The problem is that the socket connection fails on iOS when metro is running on localhost.

The solution in Expo is to run metro using tunnel.

https://docs.expo.dev/more/expo-cli/#tunneling

Or just release a real version, and it will work


Reply