Intercom Push Notification Handling Not Triggering in Flutter App #405
Labels
feature-notifications
Related to push notifications
platform-android
Specific to Android platform
support
Asking for help writing an application
Description
In our Flutter application, we are encountering an issue where the
Intercom.instance.handlePush(notification);
function does not trigger any action upon receiving a push notification when the app is in the foreground. This functionality is crucial for our app's support feature, which is supposed to show a snackbar notification and, upon tapping, display the Intercom message. However, despite the snackbar showing up and being tappable, the expected Intercom message window does not appear.Environment
Please note that updating to the latest version of the Intercom Flutter plugin is not an option for us at this moment due to multiple package conflicts.
Steps to Reproduce
Intercom.instance.handlePush(notification);
to display the Intercom message.Expected Behavior
Upon tapping the snackbar that appears when an Intercom push notification is received, the Intercom chat window should open, displaying the message.
Actual Behavior
The snackbar appears and is interactive, but tapping on it does not open the Intercom chat window. No errors are logged in the console, and it seems like the
Intercom.instance.handlePush(notification);
call does not trigger any action.Directly calling
Intercom.instance.displayMessages();
works as expected, indicating that the Intercom setup is functional properly.Relevant Code
Usage Context
The issue occurs when handling Firebase push notifications intended for Intercom. The expected behavior is to show the Intercom message upon user interaction with the notification.
The text was updated successfully, but these errors were encountered: