Open ChristopherBDev opened 6 years ago
I create this example using ionic2 hope is useful for you:
On that example I'm using there an older version of the API, but it should work with the new version as well: cordova.pdf.fromURL
I had already tried this same solution that you portray in the example.
However in the command: cordova.pdf.fromURL
,cordova
is null.
Is there any restriction of this feature to work only when tested on mobile devices? Does it work on an android emulator?
For me it is
window.cordova....
Maybe that helps.
I am trying to use this plugin with cordova and ionic 3. I already installed it through the following commands:
I tried to use the following syntax, according to the documentation:
declare var cordova: any;
And after that, I try to use the fromURL() function:
However, in execution the method is not recognized. Being the cord and ( cord) indefinite.
Do you know a solution for the plugin method to be correctly referenced?