Closed sverdlov closed 10 months ago
Same issue here, any update?
We'll bump the version and publish an update soon.
I tested with implementation("com.google.android.gms:play-services-ads-identifier:18.0.1")
and it succeeded.
@avisiboni @sverdlov can you confirm if that version works for you? We'll update the docs to reflect if so.
It'll be a code change otherwise to get the latest supported.
@gdeluna-branch that's strange because it's also should be deprecated. I think version should be upgraged not downgraded. And at least for 21, because 20 is already deprecated
Thanks for pointing out the timeline. Unsure why my environment shows no warning. I'll post back when we've made the changes.
I think there was some confusion as to which library is getting deprecated.
Our native android sdk documentation correctly suggests
implementation "com.google.android.gms:play-services-ads-identifier:18.0.1"
However our capacitor sdk doc incorrectly says
implementation 'com.google.android.gms:play-services-ads:19.4.0' // GAID matching
The library we require for GAID is https://mvnrepository.com/artifact/com.google.android.gms/play-services-ads-identifier?repo=google
The latest being 18.0.1.
Warning with ads:19.4.0
No warning with ads-identifier:18.0.1
Please let me know if importing com.google.android.gms:play-services-ads-identifier:18.0.1
works for you. We'll update the doc.
If you don't need this identifier, it's sufficient to omit the import.
@gdeluna-branch yes, you are right, I confused libs. Seems like with com.google.android.gms:play-services-ads-identifier:18.0.1
all works great. Thank you.
Describe the bug
Not long time ago Google Play started to show message about play-services-ads and play-services-ads-lite versions sunset
This version is scheduled to sunset on June 30th 2023. See https://developers.google.com/admob/android/deprecation for more information.
In documentation version 19.4.0 is specified. I've tried update it to latest but app is crashing with errorI see that I have to add AdMob app ID, but I'm not sure what it is, where I shoult get it and does it requred at all.
Steps to reproduce
Expected behavior
-
SDK Version
5.0.0
Make and Model
Xiaomi 10T Pro
OS
Android
Additional Information/Context
No response