Hi everyone,
I’m encountering an error message from Google Play when trying to submit my game:
“The transmitter receiver is registered incorrectly Apps targeting Android 13 and above must specify output behavior when calling registerReceiver(). Failure to specify export behavior may cause your application to crash. Your app targets Android 13 or later and registers external broadcast receivers but does not specify the output behavior of those broadcast receivers in the following locations: Update the application to specify output behavior for registered broadcast receivers.”
Some details about my project:
- Unity Editor: 2022.3.12
- Google Mobile Ads: 9.1.0
- Firebase: 12.1.0
- Applovin: 6.6.1
This issue started occurring after I updated the Ad Networks in Applovin to the latest versions, including Unity Ads, ByteDance, Chartboost, Meta, Fyber, Admob, InMobi, IronSource, Mintegral, and Vungle.
I used Android Studio to analyze the AAB file and found that all the receivers have the android:exported
attribute properly set. I am unsure of the cause of this issue, as previous versions and other projects with similar settings worked fine.
Additional Information
Here is the AndroidManifest.xml
file located in Plugins/Android
:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="com.sd.herodefense" android:versionCode="1" android:versionName="1.0">
<application android:label="@string/app_name" android:icon="@drawable/app_icon">
<!-- The MessagingUnityPlayerActivity is a class that extends
UnityPlayerActivity to work around a known issue when receiving
notification data payloads in the background. -->
<activity android:name="com.google.firebase.MessagingUnityPlayerActivity" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
</activity>
<service android:name="com.google.firebase.messaging.MessageForwardingService" android:permission="android.permission.BIND_JOB_SERVICE" android:exported="false"></service>
</application>
<uses-permission android:name="android.permission.VIBRATE" />
</manifest>
I appreciate any assistance or insights you can provide to help resolve this issue.
Thank you!