Skip to content

amahmoud85/cordova-plugin-app-review

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cordova-plugin-app-review

NPM version NPM downloads Twitter

Donate Your help is appreciated. Create a PR, submit a bug or just grab me 🍺

Index

Supported platforms

iOS Android
iOS Android

Installation

$ cordova plugin add cordova-plugin-app-review

Use variable ANDROID_PLAY_CORE_VERSION to override dependency version on Android.

Methods

Most of time you can just use a boilerplate below to trigger the inapp review dialog and fallback to app/play store screen when the dialog wasn't displayed:

cordova.plugins.AppReview.requestReview().catch(function() {
   return cordova.plugins.AppReview.openStoreScreen();
});

requestReview()

Launches inapp review dialog.

cordova.plugins.AppReview.requestReview();

IOS notes:

Android notes:

openStoreScreen(packageName)

Launches App/Play store page with a review form

cordova.plugins.AppReview.openStoreScreen();

By default current app screen is displayed. Optionally you can pass a package name string to show another app details.

About

Cordova plugin to review app

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 48.2%
  • Objective-C 42.6%
  • JavaScript 9.2%