-
Notifications
You must be signed in to change notification settings - Fork 188
Description
On a released version of the iOS app, when the user clicks "Rate it now", a popover appears with a blank form. Only the cancel button can be pressed.
My settings are here:
AppRate.preferences = {
displayAppName: translationManager.getTranslation('app_name'),
usesUntilPrompt: 10,
reviewType: {
ios: 'AppStoreReview', // InAppReview doesn't work for some reason.
android: 'InAppReview',
},
//simpleMode: false,
promptAgainForEachNewVersion: false,
storeAppURL: {
ios: '449161459',
android: 'market://details?id=com.paraglidingmap'
},
customLocale: {
title: translationManager.getTranslation('RatingPromptTitle'),
message: translationManager.getTranslation('RatingPromptBody'),
cancelButtonLabel: translationManager.getTranslation('RatingPromptNoThanks'),
laterButtonLabel: translationManager.getTranslation('RatingPromptRemindMeLater'),
rateButtonLabel: translationManager.getTranslation('RatingPromptRateItNow'),
yesButtonLabel: translationManager.getTranslation("yes"),
noButtonLabel: translationManager.getTranslation("no"),
appRatePromptTitle: translationManager.getTranslation('RatingPromptDoYouLikeUsingApp'),
feedbackPromptTitle: translationManager.getTranslation('RatingPromptDoYouWantToProvideFeedback'),
},
callbacks: {
handleNegativeFeedback: function () {
cordova.plugins.email.open({
to: 'team@paraglidingmap.com',
subject: 'Feedback',
body: ''
});
},
onRateDialogShow: function (callback) {
callback(1) // cause immediate click on 'Rate Now' button
},
onButtonClicked: function (buttonIndex) {
console.log("onButtonClicked -> " + buttonIndex);
}
}
};
// Ask user to rate after 10 seconds.
//setTimeout(function () {
// AppRate.promptForRating(false);
//}, 10000);
AppRate.promptForRating();
