Hi,
I’m following this guide to setup push notification and would like to find out more details on what does the Intercom.handlePushMessage() do in the react-native.
https://developers.intercom.com/installing-intercom/react-native/push-notifications/
useEffect(() => {
/**
* Handle PushNotification
*/
AppState.addEventListener(
'change',
(nextAppState) =>
nextAppState === 'active' && Intercom.handlePushMessage()
);
return () => AppState.removeEventListener('change', () => true);
}
, >])
When tapping the push notification on iOS it opens the message but not on Android. What did I miss?
Thanks.