App Rate

Improve this doc

$ ionic plugin add cordova-plugin-apprate
$ npm install --save @ionic-native/app-rate


The AppRate plugin makes it easy to prompt the user to rate your app, either now, later, or never.

Requires Cordova plugin: cordova-plugin-apprate. For more info, please see the AppRate plugin docs.

Supported platforms


import { AppRate } from '@ionic-native/app-rate';

constructor(private appRate: AppRate) { }


 this.appRate.preferences.storeAppURL = {
   ios: '<my_app_id>',
   android: 'market://details?id=<package_name>',
   windows: 'ms-windows-store://review/?ProductId=<Store_ID>'


Instance Members


Configure various settings for the Rating View. See table below for options


Prompts the user for rating

Param Type Details
immediately boolean

Show the rating prompt immediately.


Param Type Details
useLanguage string

Custom BCP 47 language tag

displayAppName string

Custom application title

promptAgainForEachNewVersion boolean

Show dialog again when application version will be updated. Defaults to true

usesUntilPrompt number

count of runs of application before dialog will be displayed. Defaults to 3

openStoreInApp boolean

leave app or no when application page opened in app store (now supported only for iOS). Defaults to false

useCustomRateDialog boolean

use custom view for rate dialog. Defaults to false

customLocale any

Custom locale object

callbacks AppRateCallbacks

Callbacks for events

storeAppURL AppUrls

App Store URLS



Param Type Details
ios string

application id in AppStore

android string

application URL in GooglePlay

windows string

application URL in Windows Store

blackberry string

application URL in AppWorld

windows8 string

application URL in WindowsStore



Param Type Details
onButtonClicked Function

call back function. called when user clicked on rate-dialog buttons

onRateDialogShow Function

call back function. called when rate-dialog showing