Skip to main content
Solved

React Native SDK 7.15 requires the `com.google.android.gms.permission.AD_ID` permission


renchap
Forum|alt.badge.img+4

Hi,

I upgraded the SDK from version 7.6.0 to version 7.15.0, and got this message when publishing on the Google Play Store:

 

 This release includes the com.google.android.gms.permission.AD_ID permission but your declaration on Play Console says your app doesn't use advertising ID. You must update your advertising ID declaration.

 

Our app does not include advertisings and does not use this permission, but using the SDK adds it to our manifest.

Is this expected? Is there any way to avoid this?

I confirmed this is caused by the SDK upgrade, as reverting back to SDK 7.6.0 solves it and allows publishing on the Play Store.

Thanks!

Best answer by toni-rico

Hi @renchap, thanks for letting us know about this issue. As you said yourself, this was due to an update of the google ad library in the Android SDK which added the permission, really sorry for the inconvenience. We’ve reverted the change and released an update to the RN sdk in https://github.com/RevenueCat/react-native-purchases/releases/tag/7.16.0. Please update to 7.16.0 and the problem should go away.

Let us know if you experience any other issues and thanks again for letting us know!

View original
Did this post help you find an answer to your question?
This post has been closed for comments

renchap
Forum|alt.badge.img+4
  • New Member
  • January 19, 2024

Update: this seems to come from `purchases-android` that inadvertently added the `AD_ID` permission.

Seems to be fixed by version 7.3.5, the RN SDK needs an update now: https://github.com/RevenueCat/purchases-android/releases/tag/7.3.5


Forum|alt.badge.img+3
  • RevenueCat Staff
  • January 19, 2024

Hi @renchap, thanks for letting us know about this issue. As you said yourself, this was due to an update of the google ad library in the Android SDK which added the permission, really sorry for the inconvenience. We’ve reverted the change and released an update to the RN sdk in https://github.com/RevenueCat/react-native-purchases/releases/tag/7.16.0. Please update to 7.16.0 and the problem should go away.

Let us know if you experience any other issues and thanks again for letting us know!


  • New Member
  • March 26, 2025

I’m seeing this on latest version of capacitor RevenueCat.

"@revenuecat/purchases-capacitor": "^10.2.1",

Is this still an issue?
 


 

 


Forum|alt.badge.img+3
  • RevenueCat Staff
  • March 26, 2025

Hi ​@greggo, thanks for reaching out!

Version 17.0.1 of the `play-services-ads-identifier` does not add the permission automatically, so it should be safe to indicate in the play console that you don’t use the advertising ID (If you do use it, you would need to add it yourself). You can also check by unzipping your final `apk` or `aab` file and checking whether the `AD_ID` permission exists within the `AndroidManifest.xml` file there.

Please let us know if that’s still an issue!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings