Skip to main content

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?

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