Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-app-review

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-app-review

Cordova plugin to review app

  • 3.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
774
decreased by-9.58%
Maintainers
1
Weekly downloads
 
Created
Source

cordova-plugin-app-review

NPM version NPM downloads PayPal donate Twitter

Index

Supported platforms

  • iOS

  • Android

    • After the account on the device has downloaded the app at least once from the internal test track and is part of the testers list, you can deploy new versions of the app via cordova cli and call requestReview in debug mode
    • In-app reviews require your app to be published in Play Store
    • Google Play enforces a quota on how often a user can be shown the review dialog

Installation

$ cordova plugin add cordova-plugin-app-review

Use variable ANDROID_PLAY_REVIEW_VERSION to override dependency version on Android:

$ cordova plugin add cordova-plugin-app-review \
    --variable ANDROID_PLAY_REVIEW_VERSION='2.0.+'

Functions

openStoreScreen

openStoreScreen(packageName?, writeReview?): Promise<void>

Launches App/Play store page with a review form. By default current app screen is displayed but you can pass a package name string to show another app details.

Example

cordova.plugins.AppReview.openStoreScreen();
cordova.plugins.AppReview.openStoreScreen("com.app.example");
cordova.plugins.AppReview.openStoreScreen(null, true);
Parameters
NameTypeDescription
packageName?stringPackage name to show instead of the current app.
writeReview?booleanOpen review form if true. Only implemented on iOS.
Returns

Promise<void>

Callback when operation is completed


requestReview

requestReview(): Promise<void>

Launches in-app review dialog.

Example

cordova.plugins.AppReview.requestReview();
// request dialog and provide fallback
cordova.plugins.AppReview.requestReview().catch(function() {
    return cordova.plugins.AppReview.openStoreScreen();
});
Returns

Promise<void>

Callback when operation is completed

Keywords

FAQs

Package last updated on 29 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc