2

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.

  • This is a good tutorial on how to achieve this: http://ourcodeworld.com/articles/read/149/how-to-use-dropbox-in-a-cordova-application – ModusPwnens Feb 15 '17 at 16:36

2 Answers2

2

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.

Community
  • 1
  • 1
Ross
  • 3,335
  • 1
  • 19
  • 18
  • The Dropbox Sync and Datastore APIs are now deprecated: https://blogs.dropbox.com/developers/2015/04/deprecating-the-sync-and-datastore-apis/ – Jim Bergman Mar 30 '17 at 21:52
0

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.

Dom
  • 2,569
  • 1
  • 18
  • 28