cordova-plugin-ios-safari

Cordova iOS Safari Plugin

Usage no npm install needed!

<script type="module">
  import cordovaPluginIosSafari from 'https://cdn.skypack.dev/cordova-plugin-ios-safari';
</script>

README

cordova-plugin-ios-safari

It is surprisingly hard, and likely even impossible, to open a URL in Safari on an iOS device when using Cordova 4. This is frustrated by the immense amount of documentation that says how to do it using Phonegap, which is entirely different in this regard.

This small plugin provides that functionality. To use:

var success = function(winParam) {};
var failure = function(error) {};
cordova.exec(success, failure, "Safari", "openExternally", [url]);

Changes

Version 0.1.1

  • Added logic to make the plugin use a background thread

Version 0.1.0

  • Initial release