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
Hey @sivakumar, when you say "our existing push notification" do you mean outbound push notifications that you are sending to your customers?
These are push notification that are not related to Intercom.
OK, just so I understand, your issue is that installing Intercom caused push notifications in your other system to stop working?
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>
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.
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.