user2819139
user2819139

Reputation: 21

Upload files to Dropbox folder with cordova app

I am working on a cordova app which require users to upload files to a Dropbox folder of some predefined account How can I use dropbox JS SDK to upload files, is it possible? Is there any cordova plugin which I can use to achieve this functionality.

Upvotes: 2

Views: 2278

Answers (2)

Ross
Ross

Reputation: 3330

I made a PhoneGap plugin for Android that uses the Dropbox Sync API. The source code is here on GitHub. I made a blog post on setup here. The sync API has been deprecated.

I also made a PhoneGap plugin for iOS that uses the Dropbox SDK. I made a blog post on setup and use here.

You should check out this post here if you wish to use the Dropbox JS SDK with PhoneGap.

Upvotes: 2

Dom
Dom

Reputation: 2569

For how to use the JS SDK, below is taken from the DropBox Tech Blog:

"...register for a Dropbox API key, set up an application in your Dropbox, borrow sample code, and read the library documentation".

As for the plugin, I am not aware of one.

Upvotes: 0

Related Questions