Offline Programmer

Using AppRate for your Ionic 2.0 App

In this tutorial we are going to allow the users to rate our ionic app on Google Play and Apple Store.

Let’s create the app using the command below

We need to add IonicNative to the App, run the command below

Run the commands below to add the AppRate plugin

Let’s create a button so that the user can tap on it and rate our App. open home.html and add the button below

Open home.ts and lets’s import what we need

Add the following variable before the constructor

Configure the storeApp details in the constructor

Now to the rateApp function, add the following code to home.ts


Run the App on a device then click on button we created about and you will get the screen below, Check the code on GitHub



Filed under: Android, AngularJS, ionic, iOS, Javascript, Uncategorized

  1. Nirav Parsana
    buttons does not display properly :(