Skip to content

swayangjit/cordova-plugin-inapp-playstorereview

Repository files navigation

cordova-plugin-inapp-playstorereview

npm version License License

Cordova plugin to use Google play core In app review APIs (Android)

API

The plugin exposes the following method:

inAppReview.showInAppReviewFlow(success, error);

Parameters:

  • success: success callback

  • error: error callback

Installation

The plugin can be installed via Cordova-CLI and is publicly available on NPM.

Execute from the projects root folder:

$ npm i cordova-plugin-inapp-playstorereview
$ cordova plugin add cordova-plugin-inapp-playstorereview

Or install a specific version:

$ npm i cordova-plugin-inapp-playstorereview@<latest_version>
$ cordova plugin add cordova-plugin-inapp-playstorereview@<latest_version>

Or install the latest head version:

$ cordova plugin add https://github.com/swayangjit/cordova-plugin-inapp-playstorereview.git

Or install from local source:

$ cordova plugin add <path> --nofetch --nosave --link