Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

This plugin enables app to integrate in-app reviews APIs
https://github.com/swayangjit/cordova-plugin-inapp-playstorereview

android cordova inapp-review inapprating inappreview ionic playcore rate rating review

Last synced: about 3 hours ago
JSON representation

This plugin enables app to integrate in-app reviews APIs

Awesome Lists containing this project

README

        

# `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:

```javascript

inAppReview.showInAppReviewFlow(success, error);

```

#### Parameters:

* __success:__ success callback

* __error:__ error callback

## Installation

The plugin can be installed via [Cordova-CLI](https://cordova.apache.org/docs/en/dev/guide/cli/index.html#The%20Command-line%20Interface) and is publicly available on [NPM](https://www.npmjs.com/package/cordova-plugin-inapp-playstorereview).

Execute from the projects root folder:
```javascript
$ npm i cordova-plugin-inapp-playstorereview
$ cordova plugin add cordova-plugin-inapp-playstorereview
```

Or install a specific version:

```javascript
$ npm i cordova-plugin-inapp-playstorereview@
$ cordova plugin add cordova-plugin-inapp-playstorereview@
```

Or install the latest head version:

```javascript
$ cordova plugin add https://github.com/swayangjit/cordova-plugin-inapp-playstorereview.git
```
Or install from local source:

```javascript
$ cordova plugin add --nofetch --nosave --link
```