react-native-push-notification
react-native-push-notification copied to clipboard
In Android Manifest File 3 <receiver> should android:exported="true"
Feature Request
In Android Manifest File 3rd <receiver> should android:exported="true" for android 12 & higher
Why it is needed
- What went wrong: Execution failed for task ':app:processDebugMainManifest'.
Manifest merger failed : android:exported needs to be explicitly specified for element <receiver#com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver>. Apps targeting Android 12 and higher are required to specify an explicit value for
android:exportedwhen the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
Possible implementation
Add android:exported="true" in 3rd receiver
Code sample
<receiver android:exported="true" android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver">