You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fatal Exception: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType
at com.affirm.android.AffirmClient$1.onResponse(AffirmClient.java:86)
at com.google.firebase.perf.network.InstrumentOkHttpEnqueueCallback.onResponse(InstrumentOkHttpEnqueueCallback.java:71)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
This seems similar to: square/retrofit#3751
I can't tell if you're using Retrofit, but considering your last release was in early 2022 I would guess you also need to make changes to support R8
The text was updated successfully, but these errors were encountered:
After looking more closely at AffirmClient I see you are not using Retrofit, but Okhttp directly.
For now, keeping everything via -keep class com.affirm.android.** { *; } , seems to fix the crash. not sure if there are more precise rules you'd suggest.
This seems similar to: square/retrofit#3751
I can't tell if you're using Retrofit, but considering your last release was in early 2022 I would guess you also need to make changes to support R8
The text was updated successfully, but these errors were encountered: