New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-ortoo-safariviewcontroller

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-ortoo-safariviewcontroller - npm Package Compare versions

Comparing version 1.2.1 to 1.4.0

2

package.json
{
"name": "cordova-plugin-ortoo-safariviewcontroller",
"version": "1.2.1",
"version": "1.4.0",
"description": "Forget InAppBrowser for iOS - this is way better for displaying read-only web content in your PhoneGap app.",

@@ -5,0 +5,0 @@ "cordova": {

@@ -62,3 +62,5 @@ SafariViewController Cordova Plugin

url: url,
hidden: false, // default false. You can use this to load cookies etc in the background (see issue #1 for details).
animated: false, // default true, note that 'hide' will reuse this preference (the 'Done' button will always animate though)
transition: 'curl', // unless animated is false you can choose from: curl, flip, fade, slide (default)
enterReaderModeIfAvailable: readerMode // default false

@@ -99,2 +101,4 @@ },

## 6. Changelog
1.2.0 Added lifecycle events to the success handler of `show`, and added the `animated` property to `show`.
* 1.4.0 Added a `hidden` property to `show`.
* 1.3.0 `isAvailable` plays nice with non-iOS platforms. Added a `transition` property to `show`.
* 1.2.0 Added lifecycle events to the success handler of `show`, and added the `animated` property to `show`.
var exec = require("cordova/exec");
module.exports = {
isAvailable: function (callback) {
exec(callback, null, "SafariViewController", "isAvailable", []);
var errorHandler = function errorHandler(error) {
// An error has occurred while trying to access the
// SafariViewController native implementation, most likely because
// we are on an unsupported platform.
callback(false);
};
exec(callback, errorHandler, "SafariViewController", "isAvailable", []);
},

@@ -16,2 +22,2 @@ show: function (options, onSuccess, onError) {

}
};
};

Sorry, the diff of this file is not supported yet

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