Skip to content
Super simple app rate plugin
Java Swift TypeScript Ruby Objective-C JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android
ios Initial commit + iOS part of plugin Sep 16, 2019
src Initial commit + iOS part of plugin Sep 16, 2019
.gitignore Initial commit + iOS part of plugin Sep 16, 2019
.npmignore Initial commit + iOS part of plugin Sep 16, 2019
CapacitorRateApp.podspec
README.md
package.json
rollup.config.js
tsconfig.json Initial commit + iOS part of plugin Sep 16, 2019
yarn.lock Initial commit + iOS part of plugin Sep 16, 2019

README.md

capacitor-rate-app

Let users rate your app. Very very simple. On Android opens Google Play. On iOs will show native rate app dialog.

iOS rate popup

Installation

$ npm i --save capacitor-rate-app

or

$ yarn add capacitor-rate-app

Android configuration

In file android/app/src/main/java/**/**/MainActivity.java, add the plugin to the initialization list:

import com.capacitor.rateApp.CapacitorRateApp;
[...]
this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{
  [...]
  add(CapacitorRateApp.class);
  [...]
}});

iOS configuration

No configuration needed, works out-of-box.

Usage

import { Plugins } from "@capacitor/core";

Plugins.CapacitorRateApp.requestReview();
You can’t perform that action at this time.