You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my ionic application, i gave usesUntilPrompt as 2, so it needs to be shown each and every 3rd attempt. Android it is working fine. But in iOS, alert is showing only once, after that nothing happening. Please help on this. Below is the code for reference,
// Opens the rating immediately no matter what preferences you set
if (this.appRate.preferences) {
alert("* App Rate reset *" + this.appRate.preferences)
//this.appRate.preferences.usesUntilPrompt -= 1
}
this.appRate.promptForRating(false);
}
The text was updated successfully, but these errors were encountered:
In my ionic application, i gave usesUntilPrompt as 2, so it needs to be shown each and every 3rd attempt. Android it is working fine. But in iOS, alert is showing only once, after that nothing happening. Please help on this. Below is the code for reference,
ratingCompnd() {
this.appRate.preferences = {
// openStoreInApp: false,
displayAppName: this.translate.instant('RATING.01'),
usesUntilPrompt: 2,
promptAgainForEachNewVersion: true,
storeAppURL: {
ios: "itms-apps://itunes.apple.com/app/id671696873",
android: 'https://play.google.com/store/apps/details?id=com.io.Myapp'
},
customLocale: {
title: 'Thanks for being our \n Customer',
message: 'Kindly rate us in AppStore',
cancelButtonLabel: 'Cancel',
laterButtonLabel: 'Remind me later',
rateButtonLabel: "Rate Now'
// yesButtonLabel: "Yes!",
// noButtonLabel: "Not really",
// appRatePromptTitle: 'Do you like using %@',
// feedbackPromptTitle: 'Mind giving us some feedback?',
},
simpleMode: true,
useCustomRateDialog: true,
callbacks: {
onRateDialogShow: function (callback) {
console.log('rate dialog shown! : ' + callback);
// alert("rate dialog shown! : " + callback)
},
onButtonClicked: function (buttonIndex) {
console.log('Selected index: -> ' + buttonIndex);
// alert("Selected index: -> " + buttonIndex)
},
handleNegativeFeedback: function (data) {
console.log('negative feedback : -> ' + data);
// this.CONSTANTS.RATING_COUNT_RESET = data;
// alert("Negative feedback: -> " + data)
}
}
}
}
The text was updated successfully, but these errors were encountered: