cordova-plugin-safariviewcontroller icon indicating copy to clipboard operation
cordova-plugin-safariviewcontroller copied to clipboard

Usage within Vue app

Open ghost opened this issue 4 years ago • 0 comments

Im creating a Vue app in a Cordova shell. I want to open PDF files which are located on an external server.

[email protected] [email protected] [email protected] [email protected]

im using the next code:

export default { methods: { openUrl(url, readerMode) { window.plugins.SafariViewController.isAvailable(function (available) { dostuff; } } } }

but it doesnt seem to work. btw ive also tried to call SafariViewController directly AND like window.SafariViewController but none of them work;

cordova config.XML:

yes cordova is loaded in my index

Could anyone help me?

ghost avatar Feb 27 '20 15:02 ghost