Open thomashrabe opened 2 years ago
Same problem, (I only try with intern Test in play store though). Did you find a fix ?
Finally after reading all the doc :) it finally is working with InAppReview
No, I wrote my own plugin, currently working on getting Android up. iOS works well. Very bare bone implementation. https://github.com/thomashrabe/AppRate I did not bother to get the plugin conflicts resolved over time...
Hi, I'm facing the same issue.... tried to use your code here:
const appRatePreferences: AppRatePreferences = {
displayAppName: 'XYZ',
simpleMode: true,
usesUntilPrompt: 1,
reviewType: {android:AppRateReviewTypeAndroid.InAppReview},
storeAppURL: {
android: 'market://details?id=my.package.name'
},
customLocale: {
title: 'Would you mind rating XYZ?',
message: 'If you like XYZ, please help us spread the word!',
cancelButtonLabel: 'No, Thanks',
laterButtonLabel: 'Remind Me Later',
rateButtonLabel: 'Rate It Now',
yesButtonLabel: 'Yes!',
noButtonLabel: 'Nah',
appRatePromptTitle: 'Do you like using XYZ',
feedbackPromptTitle: 'If you like XYZ, please help us spread the word!',
}
};
this.appRate.setPreferences(appRatePreferences);
but I always get this error:
ultima-estrazione:9842 Uncaught TypeError: Cannot read properties of undefined (reading 'open')
at Object.openUrl (ultima-estrazione:9842:28)
at AppRate.navigateToAppStore (ultima-estrazione:10090:21)
at promptForStoreRatingWindowButtonClickHandler (ultima-estrazione:9883:17)
at Object.callbackFromNative (ultima-estrazione:1608:52)
at <anonymous>:1:9
when the plugin try to open the url or nothing happens if I set InAppReview
I read that @laf1greg make it works... Could you help/share some code? Thanks
I guess I am missing something in my implementation, I see the promt questions but then when I click yes it fails in the simulator. Is it expected to fail in the simulator?
@pushandplay