Open mike-nelson opened 6 years ago
Me too, with cordova 8 in ios and android.
Doesn't work anymore for me on IOS with: cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1) Cordova Platforms : android 7.1.1, ios 4.5.5
Please, set useLanguage to "en" end try this. This is dependency from useLanguage.
AppRate.preferences.useLanguage = 'en';
AppRate.preferences.storeAppURL = {
ios: 'you_number',
android: 'market://details?id=you_packageName',
//windows: 'ms-windows-store://pdp/?ProductId=
But you will can see english dialog only:)
Hi, @Nelo-cool , thanks a lot for your help, I tried with en language but it's still not prompting on IOS, no errors returned. It was working before i upgrade to Cordova 8.
Just an update, If i set AppRate.promptForRating to true, it's prompting again. I had it to false because i'm using usesUntilPrompt.
When i updated my cordova to 8 and other plugins, i had the same thing behavior! Without erros and not show the dialog. I try set language to en and plugin was able to show the dialog! But only english. If you will get other solution, please, write this.
@Nelo-cool mine is prompting now with useLanguage set to 'fr', What's seems to be broken for me if the use of usesUntilPrompt.
Ok, it's working again for me, What i did was just add a semicolon after: Storage = require('./storage'); On line 27 in www/AppRate.js. Build app again and it's prompting again with usesUntilPrompt.
+1, the same here, clicking on «Rate It Now» just do nothing.
@geshub no, this does not help at all
Same issue here!
Same issue here when used in ionic. It appears that preferences cannot be assigned.
constructor(injector:Injector) {
this.appRate = injector.get(AppRate);
this.appRate.preferences = {
storeAppURL: {
ios: '1376367384',
android: 'market://details?id=com.iutu.iching',
},
callbacks: {
handleNegativeFeedback: () => {
console.log("negative feedback");
},
onButtonClicked: (buttonIndex) => {
console.log("onButtonClicked -> " + buttonIndex);
},
}
};
console.log(this.appRate.preferences); // we get null here
}
Also, I did not install any of the following. Does it matter?
https://github.com/EddyVerbruggen/cordova-plugin-safariviewcontroller https://github.com/apache/cordova-plugin-inappbrowser
Will this package work if app is not published on Playstore/Appstore ?
When I tap "Rate It Now" nothing happens on iOS.
I am calling this code.
What should I look for?