cordova-plugin-app-review
Index
Supported platforms
Installation
$ cordova plugin add cordova-plugin-app-review
Use variable ANDROID_PLAY_CORE_VERSION
to override dependency version on Android.
Methods
Most of time you can just use a boilerplate below to trigger the inapp review dialog and fallback to app/play store screen when the dialog wasn't displayed:
cordova.plugins.AppReview.requestReview().catch(function() {
return cordova.plugins.AppReview.openStoreScreen();
});
requestReview()
Launches inapp review dialog.
cordova.plugins.AppReview.requestReview();
IOS notes:
Android notes:
openStoreScreen(packageName)
Launches App/Play store page with a review form
cordova.plugins.AppReview.openStoreScreen();
By default current app screen is displayed. Optionally you can pass a package name string to show another app details.