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

In App review: after giving review not able to open the in app review again #282

Open
ksabariraj opened this issue Sep 29, 2020 · 2 comments

Comments

@ksabariraj
Copy link

ksabariraj commented Sep 29, 2020

Good Day,

Thanks for the In app review 👍

After giving review not able to open the in app review again. Could you please support on this?

Code Below:

AppRate.preferences = { useLanguage: 'en', displayAppName: 'In App Review', usesUntilPrompt: 1, inAppReview: true, promptAgainForEachNewVersion: true, reviewType: { ios: 'InAppReview', android: 'InAppReview' }, storeAppURL: { android: market://details?id=${this.config.package}, }, callbacks: { handleNegativeFeedback: function () { window.open('mailto:[email protected]', '_system'); }, onRateDialogShow: function (callback) { callback(1) // cause immediate click on 'Rate Now' button }, onButtonClicked: function (buttonIndex) { console.log("onButtonClicked -> " + buttonIndex); } }, openUrl: AppRate.preferences.openUrl }; AppRate.promptForRating();

Log:
I/PlayCore: UID: [10699] PID: [20816] ReviewService : requestInAppReview
I/PlayCore: UID: [10699] PID: [20816] ReviewService : Initiate binding to the service.
I/chromium: [INFO:CONSOLE(10399)] "onButtonClicked -> 1", source: http://localhost/build/main.js (10399)
I/PlayCore: UID: [10699] PID: [20816] ReviewService : ServiceConnectionImpl.onServiceConnected(ComponentInfo{com.android.vending/com.google.android.finsky.inappreviewservice.InAppReviewService})
I/PlayCore: UID: [10699] PID: [20816] ReviewService : linkToDeath
I/PlayCore: UID: [10699] PID: [20816] OnRequestInstallCallback : onGetLaunchReviewFlowInfo
I/PlayCore: UID: [10699] PID: [20816] ReviewService : Unbind from service.
D/AppRate: request review success
D/CordovaActivity: Paused the activity.
D/InputTransport: Input channel constructed: fd=148
D/ViewRootImpl@bf700aa[PlayCoreDialogWrapperActivity]: setView = DecorView@7db449b[PlayCoreDialogWrapperActivity] TM=true MM=false
D/ViewRootImpl@638586f[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0
D/ViewRootImpl@bf700aa[PlayCoreDialogWrapperActivity]: dispatchAttachedToWindow

Thanks.

@adamk22
Copy link

adamk22 commented Nov 1, 2021

Experiencing the same issue here, the plugin fails to do anything when a review is already given. Similar code and logs.

@krishnadaspalode
Copy link

Hi @ksabariraj ,

Any way to work on the callbacks like 'onButtonClicked' or 'onRateDialogShow'. It's not triggering after the in app review launches. Also any solutions to get this app review opened up again and again in same device? As of now, it is coming only once per a store user.

Regards,
Krishna

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

3 participants