Cordova-PDFReader-IOS icon indicating copy to clipboard operation
Cordova-PDFReader-IOS copied to clipboard

PDFReader always going to error callback.

Open abhishekmukherji opened this issue 9 years ago • 0 comments

First of all, thank you for your work on this. I am using it for an application and I am able to open the PDF document. Here is the code

var callBackFunctionSuccess=function(msg){ console.log("Opened PDF on iOS successfully"+ msg); };

var callBackFunctionError=function(e){ console.log("Could not open PDF on iOS "+ e); }; Ext.Viewport.setMasked({ xtype: 'loadmask', message: 'Loading ...' }); var onSuccess= function(entry){ PDFReader.open(folderpath, null, callBackFunctionSuccess, callBackFunctionError); console.log("download complete: " + entry.fullPath); Ext.Viewport.unmask(); };

For some reason it is always going to the error callback. Is there anything wrong with the way I am using the plugin ? Please let me know.

abhishekmukherji avatar Apr 03 '15 16:04 abhishekmukherji