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
{{ message }}
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
When the app is running in the emulator where the play store isn't available, the app crashes when requesting a review. The stack trace reveals these lines as the culprit:
// There was some problem, log or handle the error code.
@ReviewErrorCode val reviewErrorCode = (task.exception asReviewException).errorCode
}
Stack trace:
Process: de.tum.in.tumcampus, PID: 19000
java.lang.ClassCastException: com.google.android.play.core.internal.zzat cannot be cast to com.google.android.play.core.review.ReviewException
at de.tum.in.tumcampusapp.component.ui.overview.MainFragment.triggerReviewPrompt$lambda-2(MainFragment.kt:190)
at de.tum.in.tumcampusapp.component.ui.overview.MainFragment.$r8$lambda$m8fOp0j6HyX2ulP4M4cVAfmKVBg(Unknown Source:0)
at de.tum.in.tumcampusapp.component.ui.overview.MainFragment$$ExternalSyntheticLambda0.onComplete(Unknown Source:4)
at com.google.android.play.core.tasks.zza.run(com.google.android.play:core@@1.10.3:1)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7898)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Since the result of that cast isn't used, I suggest removing it. Objections?
The text was updated successfully, but these errors were encountered:
When the app is running in the emulator where the play store isn't available, the app crashes when requesting a review. The stack trace reveals these lines as the culprit:
Campus-Android/app/src/main/java/de/tum/in/tumcampusapp/component/ui/overview/MainFragment.kt
Lines 188 to 191 in 9d075dd
Stack trace:
Since the result of that cast isn't used, I suggest removing it. Objections?
The text was updated successfully, but these errors were encountered: