capacitor-community / admob

Community plugin for using Google AdMob
MIT License
221 stars 69 forks source link

New AD_ID Permission #161

Closed Schwankenson closed 10 months ago

Schwankenson commented 2 years ago

I got an email from Google that there is a new AD_ID permission handling needed for Android 13.

https://support.google.com/admob/answer/11402075

I'm not quite sure what this means for me as a user of the Capacitor AdMob plugin. Do I have to add the new permission to the app permissions? Will there be a plugin update in this regard?

rdlabo commented 2 years ago

This plugin's targetSdkVersion is 30 now.

For apps with target API level set to 32 (Android 12L) or older, this permission is not needed.

https://developers.google.com/android/reference/com/google/android/gms/ads/identifier/AdvertisingIdClient.Info#public-methods

So I see that you don't require new action. Thanks.

Schwankenson commented 2 years ago

There are some people developing a plugin to allow access to the advertising id:

https://github.com/capacitor-community/advertising-id

When capacitor is moving to API level > 32 we need it. But you are right @rdlabo - For current SDK version=32 it is not needed. But I think this ticket should not be closed

distante commented 10 months ago

I think this is now deprecated @Schwankenson . Let me know if otherwise.