New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 - npm Package Compare versions

Comparing version 2.1.4 to 3.0.0

2

package.json
{
"name": "cordova-plugin-app-review",
"version": "2.1.4",
"version": "3.0.0",
"description": "Cordova plugin to review app",

@@ -5,0 +5,0 @@ "types": "./types/index.d.ts",

@@ -25,3 +25,3 @@ # cordova-plugin-app-review

- [Installation](#installation)
- [Methods](#methods)
- [Functions](#functions)

@@ -47,3 +47,4 @@ <!-- /MarkdownTOC -->

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

@@ -50,0 +51,0 @@ <!-- TypedocGenerated -->

@@ -5,38 +5,37 @@ var PLUGIN_NAME = "AppReview";

module.exports = {
requestReview:
/**
* Launches in-app review dialog.
*
* @returns {Promise<void>} Callback when operation is completed
*
* @example
* cordova.plugins.AppReview.requestReview();
* // request dialog and provide fallback
* cordova.plugins.AppReview.requestReview().catch(function() {
* return cordova.plugins.AppReview.openStoreScreen();
* });
*/
function() {
return new Promise(function(resolve, reject) {
exec(resolve, reject, PLUGIN_NAME, "requestReview", []);
});
},
openStoreScreen:
/**
* 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.
*
* @param {string} [packageName] Package name to show instead of the current app.
* @returns {Promise<void>} Callback when operation is completed
*
* @example
* cordova.plugins.AppReview.openStoreScreen();
* cordova.plugins.AppReview.openStoreScreen("com.app.example");
*/
function(packageName) {
return new Promise(function(resolve, reject) {
exec(resolve, reject, PLUGIN_NAME, "openStoreScreen", [packageName || null]);
});
},
}
exports.requestReview =
/**
* Launches in-app review dialog.
*
* @returns {Promise<void>} Callback when operation is completed
*
* @example
* cordova.plugins.AppReview.requestReview();
* // request dialog and provide fallback
* cordova.plugins.AppReview.requestReview().catch(function() {
* return cordova.plugins.AppReview.openStoreScreen();
* });
*/
function() {
return new Promise(function(resolve, reject) {
exec(resolve, reject, PLUGIN_NAME, "requestReview", []);
});
};
exports.openStoreScreen =
/**
* 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.
*
* @param {string} [packageName] Package name to show instead of the current app.
* @returns {Promise<void>} Callback when operation is completed
*
* @example
* cordova.plugins.AppReview.openStoreScreen();
* cordova.plugins.AppReview.openStoreScreen("com.app.example");
*/
function(packageName) {
return new Promise(function(resolve, reject) {
exec(resolve, reject, PLUGIN_NAME, "openStoreScreen", [packageName || null]);
});
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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