pspdfkit-cordova
Advanced tools
Comparing version 1.0.12 to 1.0.13
{ | ||
"name": "pspdfkit-cordova", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "PSPDFKit Cordova Plugin for Android and iOS", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -36,2 +36,20 @@ // | ||
/** | ||
* Sets global options for PSPDFKit. | ||
* | ||
* @param options The `options` parameter. See the full list of `PSPDFSettingKeys` here: https://pspdfkit.com/api/ios/Other%20Constants.html#/c:@PSPDFSettingKeyXCallbackURLString | ||
* @callback callback Success and error callback function. | ||
* | ||
* __Supported Platforms__ | ||
* | ||
* -iOS | ||
*/ | ||
exports.setGlobalOptions = function (options, callback) { | ||
if (platform === "ios") { | ||
executeAction(callback, "setGlobalOptions", [options]); | ||
} else { | ||
console.log("Not implemented on " + platform + "."); | ||
} | ||
}; | ||
// Showing and dismissing PDF | ||
@@ -38,0 +56,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1365343
1290