Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's not working #56

Open
yasaman93 opened this issue Mar 7, 2022 · 19 comments
Open

It's not working #56

yasaman93 opened this issue Mar 7, 2022 · 19 comments

Comments

@yasaman93
Copy link

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
Copy link
Owner

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
Copy link
Author

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

@mrgzi
Copy link

mrgzi commented Mar 21, 2022

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

@large
Copy link

large commented Apr 1, 2022

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
Copy link
Owner

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 #56 (comment) apply here?

@britannio
Copy link
Owner

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
Copy link

large commented Apr 13, 2022

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
Copy link

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

@britannio
Copy link
Owner

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
Copy link

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
Copy link

I have also the same issue in my android app.

image

@ziqq
Copy link

ziqq commented Sep 5, 2022

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

@alan2030
Copy link

alan2030 commented Sep 13, 2022

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
Copy link

ziqq commented Oct 15, 2022

Any news?

@shasamepool
Copy link

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

@britannio
Copy link
Owner

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

@Velliane
Copy link

Velliane commented Nov 28, 2022

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
Copy link

ggsant commented Dec 16, 2022

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

@DanMossa
Copy link

DanMossa commented Apr 9, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

14 participants