1.1.1 • Published 4 years ago

cordova-plugin-inapp-review v1.1.1

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

cordova-plugin-inapp-review

NPM version NPM downloads Twitter

DonateYour help is appreciated. Create a PR, submit a bug or just grab me :beer:

Index

Supported platforms

iOSAndroid
iOSAndroid

Installation

$ cordova plugin add cordova-plugin-inapp-review

Use variable ANDROID_PLAY_CORE_VERSION to override dependency version on Android.

Methods

Every method returns a promise that fulfills when a call was successful.

requestReviewDialog()

Launches inapp review dialog.

cordova.plugins.InAppReview.requestReviewDialog();

requestReview()

Launches App/Play store page with a review form

cordova.plugins.InAppReview.requestReview();

You can use boilerplate below in most of cases:

cordova.plugins.InAppReview.requestReviewDialog().catch(() => {
   return cordova.plugins.InAppReview.requestReview();
});