Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

In Android Manifest File 3 <receiver> should android:exported="true" #2419

Open
hardik-wts opened this issue Jul 31, 2024 · 0 comments
Open

Comments

@hardik-wts
Copy link

hardik-wts commented Jul 31, 2024

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:exported when 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">

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant