Skip to main content
Answered

Issue with Opening Intercom Chat via Push Notification on iOS (React Native)

  • November 14, 2024
  • 2 replies
  • 67 views

Hello,

 

I’m experiencing a problem where the Intercom chat does not open when a user taps on a push notification on iOS. I have implemented the Intercom React Native plugin as per the documentation, and the messaging functionality works perfectly. Notifications are received correctly, but tapping on them does not open the chat as expected.

 

Environment Details:

 

Platform: iOS

React Native Version: 0.74

Intercom React Native Plugin Version: 8.1.0

 

Problem Description:

 

• The Intercom messenger is fully integrated into my app, and users can send and receive messages without any issues.

• Push notifications from Intercom are successfully delivered to the device.

• According to the documentation, tapping on a push notification should automatically open the relevant chat within the app. However, this is not happening on iOS.

• When I tap on a push notification while the app is closed, the app opens but does not display the chat. Instead, it remains on the previous screen or the home screen.

• I have followed all the configuration steps provided in the Intercom React Native plugin documentation for setting up push notifications on iOS.

 

What I’ve Tried:

 

• Verified that push notifications are correctly configured in the app, including permissions and registering for remote notifications.

• Confirmed that the device token is being sent to Intercom.

• Implemented the required methods to handle push notifications as outlined in the documentation.

• Observed that when the app is opened from a push notification (while it was closed), the method to retrieve the initial notification returns null.

 

Questions:

 

1. Is there any additional configuration needed to ensure that tapping on a push notification from Intercom opens the chat within the app on iOS?

2. How can I access the data from the push notification when the app is launched from a notification tap while it was closed?

3. Are there any known limitations or issues with the Intercom React Native SDK on iOS regarding this behavior?

4. Could you provide guidance or recommended solutions to resolve this issue so that the chat opens as expected when a user taps on a push notification?

 

Additional Information:

 

• I understand that iOS may have limitations concerning push notifications that include the notification key in their payload, which might prevent the app from accessing the notification data upon launch.

• Since the notifications are sent by Intercom and I don’t have control over their payload, I’m looking for alternative solutions or workarounds.

• The issue does not occur on Android; tapping on the notification opens the chat as expected.

• Any assistance or suggestions you can provide would be greatly appreciated.

 

Thank you for your help!

Best answer by bernice

Hey ​@Contato Oficina - thank you for reaching out and for the detailed description of this issue & thank you for the follow up ​@User1115 -

We haven’t had any other reports of your exact issue, so I’m going to pass this over to the support team to take further action on this issue for you. We’ll be in touch via the Messenger 💬

View original
Did this topic help you find an answer to your question?

2 replies

  • New Participant
  • 1 reply
  • November 29, 2024

Hey! The very same happens to us. We have the same configuration.

Have you got a reply from intercom team?


bernice
Intercom Team
Forum|alt.badge.img+5
  • Intercom Team
  • 230 replies
  • Answer
  • December 16, 2024

Hey ​@Contato Oficina - thank you for reaching out and for the detailed description of this issue & thank you for the follow up ​@User1115 -

We haven’t had any other reports of your exact issue, so I’m going to pass this over to the support team to take further action on this issue for you. We’ll be in touch via the Messenger 💬


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings