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

iOS displays blank rating form #326

Open
Pigsnuck opened this issue Jul 26, 2023 · 0 comments
Open

iOS displays blank rating form #326

Pigsnuck opened this issue Jul 26, 2023 · 0 comments

Comments

@Pigsnuck
Copy link

Pigsnuck commented Jul 26, 2023

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.

Here's a screenshot:
IMG_7ABDF64F8D44-1

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: '[email protected]',
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();
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