The 2017 Ionic Developer Survey Results are in!

Launch Review

Improve this doc

This launches the native store app in order for the user to leave a review. On Android, the plugin opens the the app's storepage in the Play Store where the user can leave a review by pressing the stars to give a rating. On iOS, the plugin opens the app's storepage in the App Store and focuses the Review tab, where the user can leave a review by pressing "Write a review".

Repo: https://github.com/dpa99c/cordova-launch-review

Installation

  1. Install the Cordova and Ionic Native plugins:
    $ ionic cordova plugin add cordova-launch-review
    $ npm install --save @ionic-native/launch-review
    
  2. Add this plugin to your app's module

Supported platforms

Usage

import { LaunchReview } from '@ionic-native/launch-review';

constructor(private launchReview: LaunchReview) { }

...

const appId: string = 'yourAppId';
this.launchReview.launch(appId)
  .then(() => console.log('Successfully launched store app');

Instance Members

launch()

Launch store app using given app ID

Returns: Promise<void>

API

Native

General