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

When click on rate it now nothing happen in Android #330

Closed
shayan-izadi opened this issue Apr 16, 2024 · 0 comments
Closed

When click on rate it now nothing happen in Android #330

shayan-izadi opened this issue Apr 16, 2024 · 0 comments

Comments

@shayan-izadi
Copy link

Hi. I have configured this plugin like this and I have installed InApBrowser but I get this error when I click on rate it now on debug console:

InAppBrowser: Error loading url market://details?id=com.mypackage.user:android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=market://details/... (has extras) }

My config:

AppRate.setPreferences({
displayAppName: 'My custom app title',
usesUntilPrompt: 5,
promptAgainForEachNewVersion: false,
reviewType: {
ios: 'AppStoreReview',
android: 'InAppBrowser'
},
storeAppURL: {
ios: 'com.mypackage.user',
android: 'market://details?id=com.mypackage.user'
},
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:feedback@example.com', '_system');
},
onRateDialogShow: function(callback){
callback(1) // cause immediate click on 'Rate Now' button
},
onButtonClicked: function(buttonIndex){
console.log("onButtonClicked -> " + buttonIndex);
}
}
});

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