Software Archive
Read-only legacy content
Announcements
Important Update: Community Platform Migration​. Learn more​>
17060 Discussions

How to setup cordova AppRate plugin

Alexandr1
Beginner
2,856 Views

I have installed the plugin (https://github.com/pushandplay/cordova-plugin-apprate) but cannot setup it.

Where should I insert code: 

AppRate.preferences.storeAppURL.ios = '<my_app_id>';
AppRate.promptForRating(true);?
0 Kudos
1 Solution
John_H_Intel2
Employee
2,856 Views

This one is pretty easy to implement. Setup a 3rd party plugin from the web and populate the dialog box that pops up with the info in the attached image.

Then in your ondeviceready (or some kind other button you can press) add the following lines:

AppRate.preferences.storeAppURL.ios = '########';
AppRate.promptForRating(true);

 

View solution in original post

0 Kudos
1 Reply
John_H_Intel2
Employee
2,857 Views

This one is pretty easy to implement. Setup a 3rd party plugin from the web and populate the dialog box that pops up with the info in the attached image.

Then in your ondeviceready (or some kind other button you can press) add the following lines:

AppRate.preferences.storeAppURL.ios = '########';
AppRate.promptForRating(true);

 

0 Kudos
Reply