Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to integrate with cordova app #4

Open
hemantsalunke90 opened this issue Aug 3, 2016 · 0 comments
Open

Not able to integrate with cordova app #4

hemantsalunke90 opened this issue Aug 3, 2016 · 0 comments

Comments

@hemantsalunke90
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant