androidflutteradsgoogle-play-console

Play Store warning: You must complete the advertising ID declaration before you can release an app that targets Android 13 (API 33)


I am trying to release a Flutter based Android app to the Play Store.

When I review my release in Play Store console, I have the following warning:

You must complete the advertising ID declaration before you can release an app that targets Android 13 (API 33). We'll use this declaration to provide safeguards in Play Console to accommodate changes to advertising ID in Android 13.

Apps targeting Android 13 or above and using advertising ID must include the com.google.android.gms.permission.AD_ID permission in the manifest.

I have followed the advice and added the following to my android/app/src/main/AndroidManifest.xml:

    </application>
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
</manifest>

When I 'flutter clean', create and upload a new bundle, I'm still getting the same warning. Does anyone know how to resolve this warning?

Note: I have incorporated Google Ads in my app using the google_mobile_ads plugin.

Luke


Solution

  • There are 2 steps that you have to follow to solve this problem.

    1. add com.google.android.gms.permission.AD_ID permission in AndroidManifest.xml file.
    2. Go to your Google Play Console select the app which you are trying to upload then on the left side go to Policy and programs -> App content then select Actioned tab, scroll down and find Advertising ID form fill this form by clicking on Manage button on right side.

    So you have already done step 1. Now complete step 2 and upload your app again.