britannio / in_app_review

A Flutter plugin for showing the In-App Review/System Rating pop up on Android, IOS, and MacOS. It makes it easy for users to rate your app.
306 stars 78 forks source link

I don't know this is now in my app #51

Closed HappySinha closed 1 year ago

HappySinha commented 2 years ago

This is my code

InAppReview inAppReview = InAppReview.instance; if (await inAppReview.isAvailable()) { inAppReview.requestReview(); // inAppReview.openStoreListing(appStoreId: 'bandaApp'); }

This is run time Error

I/FIAM.Headless(19981): went foreground
I/FIAM.Display(19981): Binding to activity: MainActivity
I/FIAM.Headless(19981): Setting display event component
V/PhoneWindow(19981): DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@31d2ec, this = DecorView@202e6b5[MainActivity]
E/Parcel  (19981): Reading a NULL string not supported here.
I/OplusFeedbackInfo(19981): [sendFPSInfo:L330] mInputBufCnt = 0 fps, mOutputBufCnt = 0 fps, mRenderFrameCnt = 0 fps
I/OplusFeedbackInfo(19981): [sendFPSInfo:L330] mInputBufCnt = 0 fps, mOutputBufCnt = 0 fps, mRenderFrameCnt = 0 fps
I/OplusFeedbackInfo(19981): [sendFPSInfo:L330] mInputBufCnt = 0 fps, mOutputBufCnt = 0 fps, mRenderFrameCnt = 0 fps
I/OplusFeedbackInfo(19981): [sendFPSInfo:L330] mInputBufCnt = 0 fps, mOutputBufCnt = 0 fps, mRenderFrameCnt = 0 fps
D/ViewRootImpl(19981): enqueueInputEventMotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=932.0, y[0]=2137.75, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=368526737, downTime=368526737, deviceId=-1, source=0x1002, displayId=0 }
D/ViewRootImpl[MainActivity](19981): processMotionEvent MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=932.0, y[0]=2137.75, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=368526737, downTime=368526737, deviceId=-1, source=0x1002, displayId=0 }
D/ViewRootImpl[MainActivity](19981): dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=932.0, y[0]=2137.75, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=368526737, downTime=368526737, deviceId=-1, source=0x1002, displayId=0 }
D/ViewRootImpl[MainActivity](19981): processMotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=932.0, y[0]=2137.75, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=368526829, downTime=368526737, deviceId=-1, source=0x1002, displayId=0 }
D/ViewRootImpl[MainActivity](19981): dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=932.0, y[0]=2137.75, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=368526829, downTime=368526737, deviceId=-1, source=0x1002, displayId=0 }
I/InAppReviewPlugin(19981): onMethodCall: isAvailable
I/InAppReviewPlugin(19981): isAvailable: called
I/InAppReviewPlugin(19981): noContextOrActivity: called
I/InAppReviewPlugin(19981): isAvailable: playStoreInstalled: true
I/InAppReviewPlugin(19981): isAvailable: lollipopOrLater: true
I/InAppReviewPlugin(19981): isAvailable: The Play Store is available and Android 5 or later is being used
I/InAppReviewPlugin(19981): cacheReviewInfo: called
I/InAppReviewPlugin(19981): noContextOrActivity: called
I/PlayCore(19981): UID: [10433]  PID: [19981] ReviewService : requestInAppReview (banda.app)
I/InAppReviewPlugin(19981): cacheReviewInfo: Requesting review flow
I/PlayCore(19981): UID: [10433]  PID: [19981] ReviewService : Initiate binding to the service.
I/PlayCore(19981): UID: [10433]  PID: [19981] ReviewService : ServiceConnectionImpl.onServiceConnected(ComponentInfo{com.android.vending/com.google.android.finsky.inappreviewservice.InAppReviewService})
I/PlayCore(19981): UID: [10433]  PID: [19981] ReviewService : linkToDeath
I/PlayCore(19981): UID: [10433]  PID: [19981] ReviewService : Unbind from service.
I/PlayCore(19981): UID: [10433]  PID: [19981] OnRequestInstallCallback : onGetLaunchReviewFlowInfo
I/InAppReviewPlugin(19981): onComplete: Successfully requested review flow
I/InAppReviewPlugin(19981): onMethodCall: requestReview
I/InAppReviewPlugin(19981): requestReview: called
I/InAppReviewPlugin(19981): noContextOrActivity: called
I/InAppReviewPlugin(19981): launchReviewFlow: called
I/InAppReviewPlugin(19981): noContextOrActivity: called
E/Parcel  (19981): Reading a NULL string not supported here.

I don't how can I solve this Error.

britannio commented 1 year ago

Closing this as a stale issue, if you're still facing this issue on the latest version then drop a comment and I'll reopen the issue.