Skip to main content
Answered

Push notification React Native Android build failing

  • August 16, 2023
  • 1 reply
  • 381 views

I’ve followed the react native android push notification setup (https://developers.intercom.com/installing-intercom/docs/react-native-push-notifications) however I am receiving the following build error when building my app. 

 android:exported needs to be explicitly specified for element <service#<<my package name>>.MainNotificationService>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined.

Has anyone experienced this and what is the fix?

Best answer by Jacob Cox

Hi @Tom Dorozenko !

 

It looks like you’ve reached out to our Support Team about this.  My teammate Ana has responded looking for more details. Can you please respond to her messages so she can help you out?

In my research I haven’t come across anything like this related to our Intercom SDK. One of my teammates did find some postings on StackOverflow that seem associated with that error message though. You may want to look over the postings here and here to see if they are of any help.

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

1 reply

Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • 441 replies
  • Answer
  • August 20, 2023

Hi @Tom Dorozenko !

 

It looks like you’ve reached out to our Support Team about this.  My teammate Ana has responded looking for more details. Can you please respond to her messages so she can help you out?

In my research I haven’t come across anything like this related to our Intercom SDK. One of my teammates did find some postings on StackOverflow that seem associated with that error message though. You may want to look over the postings here and here to see if they are of any help.


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