App Crash with IReviewManagerInvoker.RequestReviewFlow () Exception (Android)
See original GitHub issueHi there,
I’m noticing many crash reports logged in my App Center Issues for Android:
IReviewManagerInvoker.RequestReviewFlow ()
Java.Lang.IncompatibleClassChangeError: no non-static method "Lcom/google/android/play/core/review/c;.requestReviewFlow()Lcom/google/android/play/core/tasks/Task;"
Details:
JniEnvironment+InstanceMethods.GetMethodID (Java.Interop.JniObjectReference type, System.String name, System.String signature)
JNIEnv.GetMethodID (System.IntPtr kls, System.String name, System.String signature)
IReviewManagerInvoker.RequestReviewFlow ()
StoreReviewImplementation.RequestReview (System.Boolean testMode)
ItemDetailPage.OnAppearing ()
AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state)
SyncContext+<>c__DisplayClass2_0.<Post>b__0 ()
Thread+RunnableImplementor.Run ()
IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this)
(wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.102(intptr,intptr)
java.lang.NoSuchMethodError: no non-static method "Lcom/google/android/play/core/review/c;.requestReviewFlow()Lcom/google/android/play/core/tasks/Task;"
mono.android.animation.ValueAnimator_AnimatorUpdateListenerImplementor.n_onAnimationUpdate(Native Method)
mono.android.animation.ValueAnimator_AnimatorUpdateListenerImplementor.onAnimationUpdate()
android.animation.ValueAnimator.animateValue ValueAnimator.java:1346
android.animation.ValueAnimator.animateBasedOnTime ValueAnimator.java:1258
android.animation.ValueAnimator.doAnimationFrame ValueAnimator.java:1306
android.animation.AnimationHandler.doAnimationFrame AnimationHandler.java:146
android.animation.AnimationHandler.-wrap2(AnimationHandler.java)
android.animation.AnimationHandler$1.doFrame AnimationHandler.java:54
android.view.Choreographer$CallbackRecord.run Choreographer.java:957
android.view.Choreographer.doCallbacks Choreographer.java:734
android.view.Choreographer.doFrame Choreographer.java:667
android.view.Choreographer$FrameDisplayEventReceiver.run Choreographer.java:945
android.os.Handler.handleCallback Handler.java:751
android.os.Handler.dispatchMessage Handler.java:95
android.os.Looper.loop Looper.java:154
android.app.ActivityThread.main ActivityThread.java:6776
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run ZygoteInit.java:1520
com.android.internal.os.ZygoteInit.main ZygoteInit.java:1410
Bug
Version Number of Plugin: 3.0.0-beta Device Tested On: Galaxy S8+, OnePlus 6 , Device, Y9 Prime 2019, and others XF: 4.8.0.1560
Steps to reproduce the Behavior
I show the dialog by calling the request review
await Plugin.StoreReview.CrossStoreReview.Current.RequestReview(false);
Note that the application language is Arabic.
I don’t have a physical device in order try to reproduce it, but I wonder if you could get a hint from the log on what could be the issue.
Thanks,
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Android In-app Review pop-up crashes the app
Try this: add the following private ReviewInfo reviewInfo;. below ReviewManager manager;. and then change this: if (task.
Read more >Crashes | App quality
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java...
Read more >Hide your crashes gracefully (and still report them) | by Fábio
When this happens our decision is to default to the Android exception handler (presenting the system crash dialog and killing the app).
Read more >App Center Crashes for Android - Visual Studio
App Center Crashes will automatically generate a crash log every time your app crashes. The log is first written to the device's storage...
Read more >Android Crash Reporting & Error Monitoring
Comprehensive Android crash reporting to quickly debug errors. Add BugSnag to your Android apps to automatically detect unhandled exceptions. Start free trial.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@darrabam you mean without a crash?
@saamerm yep, it worked! at least I got the rating dialog and managed to submit a review without a crash 😃 Thank you very much