Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant