Your help is appreciated. Create a PR, submit a bug or just grab me 🍺 |
---|
iOS | Android |
---|---|
$ cordova plugin add cordova-plugin-app-review
Use variable ANDROID_PLAY_CORE_VERSION
to override dependency version on Android.
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();
});
Launches inapp review dialog.
cordova.plugins.AppReview.requestReview();
IOS notes:
- Supported iOS 10.3+ only.
- iOS limits the frequency of displaying The Rating dialog.
Android notes:
- After the account on the device has downloaded the app at least once from the internal test track and is part of the testers list, you can deploy new versions of the app via cordova cli and call
requestReview
in debug mode. - In-app reviews require your app to be published in Play Store.
- Google Play enforces a quota on how often a user can be shown the review dialog.
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.