Skip to main content
Answered

Issue with receiving push notification in android.

  • January 10, 2022
  • 5 replies
  • 196 views

We are using expo notification package for push notification in our project. When we add the intercom react native push notification android code changes that are provided in the documentation we are getting intercom notification but our existing push notification are not coming. Is there any way to use both. Kindly suggest us. Thanks in advance

Best answer by Eric Fitz

Apologies for the delay in my response @sivakumar​. I'd recommend that you contact our Support Engineers directly about this via the Messenger in your Intercom workspace.

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

5 replies

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • January 11, 2022

Hey @sivakumar​, when you say "our existing push notification" do you mean outbound push notifications that you are sending to your customers?


  • Author
  • New Participant
  • 2 replies
  • January 11, 2022

These are push notification that are not related to Intercom.


Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • January 12, 2022

OK, just so I understand, your issue is that installing Intercom caused push notifications in your other system to stop working?


  • Author
  • New Participant
  • 2 replies
  • January 13, 2022

Yes you’re right, after adding the below code in android as mentioned in the intercom documentation.

 

<!-- Add xmlns:tools to manifest. See example below-->

<manifest

xmlns:tools="http://schemas.android.com/toolsquot;

>

<application>

<activity>

...

</activity>

...

 

<!-- START: Add this-->

<service

android:name=".MainNotificationService">

<intent-filter>

<action android:name="com.google.firebase.MESSAGING_EVENT"/>

</intent-filter>

</service>

 

<receiver

android:name="com.intercom.reactnative.RNIntercomPushBroadcastReceiver"

tools:replace="android:exported"

android:exported="true"/>

<!-- END: Add this-->

 

</application>

</manifest>


Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • Answer
  • January 19, 2022

Apologies for the delay in my response @sivakumar​. I'd recommend that you contact our Support Engineers directly about this via the Messenger in your Intercom workspace.


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