OneDrive / onedrive-texteditor-js

Simple single-page JavaScript app for editing text files
Other
29 stars 23 forks source link

Not able to integrate with cordova app #4

Open hemantsalunke90 opened 8 years ago

hemantsalunke90 commented 8 years ago

I am trying to integrate the file picker in cordova app. I am able to open filepicker but when I tried to open the selected file I got following error. Please see screenshot below: image

My code for filepicker is: var odOptions = { clientId: "", action: "share | download | query", multiSelect: false, openInNewWindow: true, advanced: { redirectUri: "" }, success: function (files) { /* success handler / }, cancel: function () { / cancel handler / }, error: function (e) { / error handler */ } }; OneDrive.open(odOptions);

I have also followed all things which mentioned on https://dev.onedrive.com/sdk/js-v7/js-picker-open.htm

Please help in this. I am waiting for your valuable reply.

Thanks in advance.