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

Line 3195 - Msg: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'confirm') if InAppReview or showPromptForInAppReview is true #323

Open
TineManrique opened this issue May 23, 2023 · 0 comments

Comments

@TineManrique
Copy link

image

Rate dialog is not displaying. But alert trigger on onRateDialogShow is triggering. Please help

{
usesUntilPrompt: 1,
simpleMode: true,
showPromptForInAppReview: true,
reviewType:{
ios: AppRateReviewTypeIos.InAppReview,
android: AppRateReviewTypeAndroid.InAppBrowser
},
storeAppURL: {
ios: APP_STORE_APP_ID,
android: market://details?id=${productionPackageName},
},
customLocale: {
title: "Would you mind rating %@?",
message: "It won’t take more than a minute and helps to promote our app. Thanks for your support!",
cancelButtonLabel: "No, Thanks",
laterButtonLabel: "Remind Me Later",
rateButtonLabel: "Rate It Now",
yesButtonLabel: "Yes!",
noButtonLabel: "Not really",
appRatePromptTitle: 'Do you like using %@',
feedbackPromptTitle: 'Mind giving us some feedback?',
},
callbacks: {
handleNegativeFeedback: function() {
window.open('mailto:[email protected]', '_system');
},
onRateDialogShow: function(callback) {
alert('onRateDialogShow');
callback(1); // cause immediate click on 'Rate Now' buttons
},
onButtonClicked: function(buttonIndex){
console.log("onButtonClicked -> " + buttonIndex);
}
},
}

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

1 participant