Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

User Messaging Platform 2.0.0 release crashes

Tags:

android

I updated from

implementation 'com.google.android.ump:user-messaging-platform:1.0.0'

to

implementation 'com.google.android.ump:user-messaging-platform:2.0.0'

And now I receive in crashlytics many crashes (this happens only for users from Europe, that's why I published and didn't notice on my own devices):

Fatal Exception: java.lang.VerifyError
Verifier rejected class wa.f: java.lang.Object wa.f.h(java.lang.Object) failed to verify
...
com.google.android.gms.internal.consent_sdk.zzu.run (zzu.java:38)
com.google.android.gms.internal.ads.zzdvf.run$bridge (zzdvf.java:38)

Any idea how to fix it?

Also here https://groups.google.com/g/google-admob-ads-sdk/c/VPUtbIGgEYw

p.s. temporary downgraded to 1.0.0 version...

like image 653
user924 Avatar asked Aug 03 '21 16:08

user924


1 Answers

This proguard rule, fix crash for my app:

-keep class com.google.android.gms.internal.consent_sdk.** { <fields>; }
like image 130
Mokhtarabadi Avatar answered Nov 15 '22 22:11

Mokhtarabadi