Hello,
We use intercom on a react-native expo app using @intercom/intercom-react-native 8.1.0
We have different Intercom workflow set for “When customer opens a new conversation in the Messenger” based on day/time, custom attributes.
We noticed our Android users always see the first workflow they have been presented, even if another one should be shown. We were indeed able to reproduce it.
This issue happen no matter how the new conversation window is triggered, either when the user start a new conversation from the Home space or using Intercom.presentMessageComposer();
This issue does not happen on iOS and one way to “fix” it is by force quitting the app from the android app settings
[Issue] New conversation always shows last workflow
Best answer by Emilygav
Hey there
The issue with the Android users always seeing the first workflow they have been presented, even if another one should be shown, could be related to how notifications and actions are handled within the app.
On Android, the application is responsible for drawing the notification and handling what happens when the notification is clicked. If there is a custom installation or another push system involved, it may require manual handling. For Intercom to draw the notification and handle the workflow correctly, the following must be called:
intercomPushClient.handlePush(getApplication(), message);
This should be done automatically in standard installations, but for custom installations or if there are problems with the standard installation, this needs to be handled manually. If you have a custom setup or another push system, ensure that the Intercom push client is correctly implemented as per the instructions provided in the Intercom documentation for Android FCM push notifications.
Reply
Join the Intercom Community 🎉
Already have an account? Login
Login to the community
No account yet? Create an account
Intercom Customers and Employees
Log in with SSOEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.