Answered

Push notification React Native Android build failing

  • 16 August 2023
  • 1 reply
  • 191 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?

icon

Best answer by Jacob Cox 20 August 2023, 18:29

View original

1 reply

Userlevel 4
Badge +5

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.

Reply