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 3.0.1 to 3.1.0

2

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

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

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

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

@@ -66,2 +66,3 @@ Launches App/Play store page with a review form. By default current app screen

cordova.plugins.AppReview.openStoreScreen("com.app.example");
cordova.plugins.AppReview.openStoreScreen(null, true);
```

@@ -74,2 +75,3 @@

| `packageName?` | `string` | Package name to show instead of the current app. |
| `writeReview?` | `boolean` | Open review form if true. Only implemented on iOS. |

@@ -76,0 +78,0 @@ #### Returns

@@ -19,2 +19,3 @@ /**

* @param {string} [packageName] Package name to show instead of the current app.
* @param {boolean} [writeReview] Open review form if true. Only implemented on iOS.
* @returns {Promise<void>} Callback when operation is completed

@@ -25,3 +26,4 @@ *

* cordova.plugins.AppReview.openStoreScreen("com.app.example");
* cordova.plugins.AppReview.openStoreScreen(null, true);
*/
export function openStoreScreen(packageName?: string): Promise<void>;
export function openStoreScreen(packageName?: string, writeReview?: boolean): Promise<void>;

@@ -30,2 +30,3 @@ var PLUGIN_NAME = "AppReview";

* @param {string} [packageName] Package name to show instead of the current app.
* @param {boolean} [writeReview] Open review form if true. Only implemented on iOS.
* @returns {Promise<void>} Callback when operation is completed

@@ -36,7 +37,8 @@ *

* cordova.plugins.AppReview.openStoreScreen("com.app.example");
* cordova.plugins.AppReview.openStoreScreen(null, true);
*/
function(packageName) {
function(packageName, writeReview) {
return new Promise(function(resolve, reject) {
exec(resolve, reject, PLUGIN_NAME, "openStoreScreen", [packageName || null]);
exec(resolve, reject, PLUGIN_NAME, "openStoreScreen", [packageName || null, writeReview || false]);
});
};

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