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:
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 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:
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.