-
Notifications
You must be signed in to change notification settings - Fork 41
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
Missing "exported" attributed in manifest while generating APK #143
Comments
Can confirm the issue, I'm receiving a warning that my game will not be downloadable by Android 12 users. The receiver that presented the problem is com.unity.androidnotifications.UnityNotificationRestartOnBootReceiver. My solution was to provide a customized AndroidManifest in my unity project to avoid this issue with the following content:
|
Thanks! it should work. |
Agreed, just shared a quick workaround that worked for us |
The issue is solved in 1.5.0, but the tag is not modified yet to 1.5.0 so you cannot update yet, maybe they forgot to add it |
This issue is fixed in master. |
After the Behavior changes in Android, If your app targets Android 12 or higher and contains activities, services, or broadcast receivers that use intent filters, you must explicitly declare the "android: exported" attribute for these app components.
This is not happening right now, failing when the apk is uploaded to android. This attribute should be added into the manifest when it is generated in the class "AndroidNotificationPostProcessor" line 118 approx.
https://developer.android.com/about/versions/12/behavior-changes-12#exported
Is happening in Android, Unity 2020.3.20f, "Mobile notification package" version 1.4.2 ( the last when this was written )
The text was updated successfully, but these errors were encountered: