Skip to content

Not able to integrate with cordova app #4

@hemantsalunke90

Description

@hemantsalunke90

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions