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

Viewed 5196

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

2 Answers

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

  1. add com.google.android.gms.permission.AD_ID permission in the manifest 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 -> App content in there fill the Advertising ID form.

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

  1. Go to your Google Play Console select the app which you are trying to upload then on the left side go to Policy -> App content in there fill the Advertising ID form.

    screenshot of Google Play Consoles Advertising ID Form

  2. Only if you answered with Yes in the form shown above, add the line shown below to your AndroidManifest.xml:
    <uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
    
Related