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.
327 stars 82 forks source link

It's not working #56

Open yasaman93 opened 2 years ago

yasaman93 commented 2 years ago

I used this library and thought I have to publish the new version of my app to see the rating dialog. But I published it and it doesn't work. This is my log:

I/InAppReviewPlugin( 6144): onMethodCall: isAvailable
I/InAppReviewPlugin( 6144): isAvailable: called
I/InAppReviewPlugin( 6144): noContextOrActivity: called
I/InAppReviewPlugin( 6144): isAvailable: playStoreInstalled: true
I/InAppReviewPlugin( 6144): isAvailable: lollipopOrLater: true
I/InAppReviewPlugin( 6144): isAvailable: The Play Store is available and Android 5 or later is being used
I/InAppReviewPlugin( 6144): cacheReviewInfo: called
I/InAppReviewPlugin( 6144): noContextOrActivity: called
I/PlayCore( 6144): UID: [10108]  PID: [6144] ReviewService : requestInAppReview (co.app.langeek)
I/InAppReviewPlugin( 6144): cacheReviewInfo: Requesting review flow
I/PlayCore( 6144): UID: [10108]  PID: [6144] ReviewService : Initiate binding to the service.
I/PlayCore( 6144): UID: [10108]  PID: [6144] ReviewService : ServiceConnectionImpl.onServiceConnected(ComponentInfo{com.android.vending/com.google.android.finsky.inappreviewservice.InAppReviewService})
I/PlayCore( 6144): UID: [10108]  PID: [6144] ReviewService : linkToDeath
I/PlayCore( 6144): UID: [10108]  PID: [6144] OnRequestInstallCallback : onGetLaunchReviewFlowInfo
I/PlayCore( 6144): UID: [10108]  PID: [6144] ReviewService : Unbind from service.
I/InAppReviewPlugin( 6144): onComplete: Successfully requested review flow
I/InAppReviewPlugin( 6144): onMethodCall: requestReview
I/InAppReviewPlugin( 6144): requestReview: called
I/InAppReviewPlugin( 6144): noContextOrActivity: called
I/InAppReviewPlugin( 6144): launchReviewFlow: called
I/InAppReviewPlugin( 6144): noContextOrActivity: called

I use different accounts and different devices, but it doesn't work.

britannio commented 2 years ago

If you can see these logs then I suspect that you are running the app locally which isn't a supported testing method on Android.

yasaman93 commented 2 years ago

These are the logs in debug mode, I sent them because I can't see the rating dialog in production mode

mrgzi commented 2 years ago

I am having the same issue. It doesn't work both on release and debug mode.

large commented 2 years ago

Same issue here

2022-04-01 21:21:42.798 8047-8047/com.werner.spotprisen I/InAppReviewPlugin: onMethodCall: isAvailable
2022-04-01 21:21:42.798 8047-8047/com.werner.spotprisen I/InAppReviewPlugin: isAvailable: called
2022-04-01 21:21:42.798 8047-8047/com.werner.spotprisen I/InAppReviewPlugin: noContextOrActivity: called
2022-04-01 21:21:42.801 8047-8047/com.werner.spotprisen I/InAppReviewPlugin: isAvailable: playStoreInstalled: true
2022-04-01 21:21:42.801 8047-8047/com.werner.spotprisen I/InAppReviewPlugin: isAvailable: lollipopOrLater: true
2022-04-01 21:21:42.801 8047-8047/com.werner.spotprisen I/InAppReviewPlugin: isAvailable: The Play Store is available and Android 5 or later is being used
2022-04-01 21:21:42.801 8047-8047/com.werner.spotprisen I/InAppReviewPlugin: cacheReviewInfo: called
2022-04-01 21:21:42.801 8047-8047/com.werner.spotprisen I/InAppReviewPlugin: noContextOrActivity: called
2022-04-01 21:21:42.821 8047-8047/com.werner.spotprisen I/PlayCore: UID: [10536]  PID: [8047] ReviewService : requestInAppReview (com.werner.spotprisen)
2022-04-01 21:21:42.827 8047-8047/com.werner.spotprisen I/InAppReviewPlugin: cacheReviewInfo: Requesting review flow
2022-04-01 21:21:42.827 8047-8365/com.werner.spotprisen I/PlayCore: UID: [10536]  PID: [8047] ReviewService : Initiate binding to the service.
2022-04-01 21:21:42.930 8047-8047/com.werner.spotprisen I/PlayCore: UID: [10536]  PID: [8047] ReviewService : ServiceConnectionImpl.onServiceConnected(ComponentInfo{com.android.vending/com.google.android.finsky.inappreviewservice.InAppReviewService})
2022-04-01 21:21:42.932 8047-8365/com.werner.spotprisen I/PlayCore: UID: [10536]  PID: [8047] ReviewService : linkToDeath
2022-04-01 21:21:43.017 8047-8110/com.werner.spotprisen I/PlayCore: UID: [10536]  PID: [8047] OnRequestInstallCallback : onGetLaunchReviewFlowInfo
2022-04-01 21:21:43.018 8047-8365/com.werner.spotprisen I/PlayCore: UID: [10536]  PID: [8047] ReviewService : Unbind from service.
2022-04-01 21:21:43.019 8047-8047/com.werner.spotprisen I/InAppReviewPlugin: onComplete: Successfully requested review flow
2022-04-01 21:21:45.649 8047-8058/com.werner.spotprisen W/JavaBinder: BinderProxy is being destroyed but the application did not call unlinkToDeath to unlink all of its death recipients beforehand.  Releasing leaked death recipient: com.google.android.play.core.internal.ai
2022-04-01 21:21:45.649 8047-8058/com.werner.spotprisen I/BpBinder: onLastStrongRef automatically unlinking death recipients: <uncached descriptor>
britannio commented 2 years ago

If you can see these logs then I suspect that you are running the app locally which isn't a supported testing method on Android.

Does https://github.com/britannio/in_app_review/issues/56#issuecomment-1060633200 apply here?

britannio commented 2 years ago

I am having the same issue. It doesn't work both on release and debug mode.

requestReview() only works in debug mode on iOS and MacOS, it cannot work on Android in debug mode while developing your app. See https://github.com/britannio/in_app_review#testing for guidance on testing.

large commented 2 years ago

I am having the same issue. It doesn't work both on release and debug mode.

requestReview() only works in debug mode on iOS and MacOS, it cannot work on Android in debug mode while developing your app. See https://github.com/britannio/in_app_review#testing for guidance on testing.

I build and deployed to Play Store and installed it as an internal tester, on a physical device. Shouldn't that be enough?

Tested it on an iPad and it worked fine there.

rishavdebroy-gloify commented 2 years ago

I am trying in release mode with a physical Android device but I am still not getting the review popup.

britannio commented 2 years ago

I am trying in release mode with a physical Android device but I am still not getting the review popup.

Does https://github.com/britannio/in_app_review#testing help? The feature cannot be tested via a command-line app installation on Android, even in release mode.

JapneetSingh-28 commented 2 years ago

I used this library and thought I have to publish the new version of my app to see the rating dialog. But I published it and it doesn't work. This is my log:

I/InAppReviewPlugin( 6144): onMethodCall: isAvailable
I/InAppReviewPlugin( 6144): isAvailable: called
I/InAppReviewPlugin( 6144): noContextOrActivity: called
I/InAppReviewPlugin( 6144): isAvailable: playStoreInstalled: true
I/InAppReviewPlugin( 6144): isAvailable: lollipopOrLater: true
I/InAppReviewPlugin( 6144): isAvailable: The Play Store is available and Android 5 or later is being used
I/InAppReviewPlugin( 6144): cacheReviewInfo: called
I/InAppReviewPlugin( 6144): noContextOrActivity: called
I/PlayCore( 6144): UID: [10108]  PID: [6144] ReviewService : requestInAppReview (co.app.langeek)
I/InAppReviewPlugin( 6144): cacheReviewInfo: Requesting review flow
I/PlayCore( 6144): UID: [10108]  PID: [6144] ReviewService : Initiate binding to the service.
I/PlayCore( 6144): UID: [10108]  PID: [6144] ReviewService : ServiceConnectionImpl.onServiceConnected(ComponentInfo{com.android.vending/com.google.android.finsky.inappreviewservice.InAppReviewService})
I/PlayCore( 6144): UID: [10108]  PID: [6144] ReviewService : linkToDeath
I/PlayCore( 6144): UID: [10108]  PID: [6144] OnRequestInstallCallback : onGetLaunchReviewFlowInfo
I/PlayCore( 6144): UID: [10108]  PID: [6144] ReviewService : Unbind from service.
I/InAppReviewPlugin( 6144): onComplete: Successfully requested review flow
I/InAppReviewPlugin( 6144): onMethodCall: requestReview
I/InAppReviewPlugin( 6144): requestReview: called
I/InAppReviewPlugin( 6144): noContextOrActivity: called
I/InAppReviewPlugin( 6144): launchReviewFlow: called
I/InAppReviewPlugin( 6144): noContextOrActivity: called

I use different accounts and different devices, but it doesn't work.

Hi all, I'm also facing a similar issue, I uploaded the app bundle to internal testing, and after downloading the app I'm not getting the in-app review dialog according to the logic. So, I debug the app and got a similar output. But in iOS, it's working fine.

SagarSinghAwesome commented 2 years ago

I have also the same issue in my android app.

image
ziqq commented 2 years ago

I have the same issue, it dosen't work.

alan2030 commented 2 years ago

same issue here. Works on ios production, but doesn't work on Android production (worked in internal testing) Using version 1.0.4

Update: works on SOME devices only. Android has 10x less ratings in comparison to iOS with same distribution.

ziqq commented 2 years ago

Any news?

shasamepool commented 2 years ago

I have the same issue but only when i use the advanced_in_app_review plugin

britannio commented 1 year ago

Could anyone facing this update to the latest version of this package then report the result? Thanks!

Velliane commented 1 year ago

Hi ! I update to the latest version, and I have the same issue. I have the same logs:

2022-11-28 11:52:32.576 27219-27219/? I/InAppReviewPlugin: onMethodCall: isAvailable
2022-11-28 11:52:32.576 27219-27219/? I/InAppReviewPlugin: isAvailable: called
2022-11-28 11:52:32.576 27219-27219/? I/InAppReviewPlugin: noContextOrActivity: called
2022-11-28 11:52:32.579 27219-27219/? I/InAppReviewPlugin: isAvailable: playStoreInstalled: true
2022-11-28 11:52:32.579 27219-27219/? I/InAppReviewPlugin: isAvailable: lollipopOrLater: true
2022-11-28 11:52:32.579 27219-27219/? I/InAppReviewPlugin: isAvailable: The Play Store is available and Android 5 or later is being used
2022-11-28 11:52:32.579 27219-27219/? I/InAppReviewPlugin: cacheReviewInfo: called
2022-11-28 11:52:32.579 27219-27219/? I/InAppReviewPlugin: noContextOrActivity: called
2022-11-28 11:52:32.583 27219-27219/? I/PlayCore: UID: [10596] PID: [27219] ReviewService : requestInAppReview 
2022-11-28 11:52:32.585 27219-27219/? I/InAppReviewPlugin: cacheReviewInfo: Requesting review flow
2022-11-28 11:52:32.586 27219-27583/? I/PlayCore: UID: [10596] PID: [27219] ReviewService : Initiate binding to the service.
2022-11-28 11:52:32.715 27219-27219/? I/PlayCore: UID: [10596] PID: [27219] ReviewService : ServiceConnectionImpl.onServiceConnected(ComponentInfo{com.android.vending/com.google.android.finsky.inappreviewservice.InAppReviewService})
2022-11-28 11:52:32.716 27219-27583/? I/PlayCore: UID: [10596] PID: [27219] ReviewService : linkToDeath
2022-11-28 11:52:32.828 27219-27452/? I/PlayCore: UID: [10596] PID: [27219] OnRequestInstallCallback : onGetLaunchReviewFlowInfo
2022-11-28 11:52:32.828 27219-27583/? I/PlayCore: UID: [10596] PID: [27219] ReviewService : Unbind from service.
2022-11-28 11:52:32.829 27219-27219/? I/InAppReviewPlugin: onComplete: Successfully requested review flow
2022-11-28 11:52:32.837 27219-27219/? I/InAppReviewPlugin: onMethodCall: requestReview
2022-11-28 11:52:32.837 27219-27219/? I/InAppReviewPlugin: requestReview: called
2022-11-28 11:52:32.837 27219-27219/? I/InAppReviewPlugin: noContextOrActivity: called
2022-11-28 11:52:32.839 27219-27219/? I/InAppReviewPlugin: launchReviewFlow: called
2022-11-28 11:52:32.839 27219-27219/? I/InAppReviewPlugin: noContextOrActivity: called
ggsant commented 1 year ago

Make sure you are signed in to a gmail account on the play store for the rating dialog to appear

DanMossa commented 1 year ago

Having the same problem for Android. Being tested on a production app that's being downloaded via the internal tester track.