Issue with receiving push notification in android. | Community
Skip to main content
Answered

Issue with receiving push notification in android.

  • Jan 10, 2022 12:49 PM UTC
  • 5 replies
  • 412 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

5 replies

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • Jan 11, 2022 12:19 PM UTC

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
  • Jan 11, 2022 12:31 PM UTC

These are push notification that are not related to Intercom.


Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • Jan 12, 2022 5:37 PM UTC

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


  • Author
  • New Participant
  • Jan 13, 2022 5:46 AM UTC

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
  • Answer
  • Jan 19, 2022 11:06 AM UTC

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.