I'm the maintainer for an app with dropbox API v1 integration with about 4000 daily requests to DropBox (has been working well for nearly 2 years and I've been hands free on it). I realise I've got to support V2 in the impending future, and I've been attempting to do just that but I'm having a great deal of trouble getting a hello-world implementation of V2 on android to just work out of the box; it's been surprisingly difficult.
In particular I've found triggering the user to authenticate the DropBox App (new instance to support API 2 since File permissions is deprecated) via OAuth to be difficult; the diagrams are great for understanding the flow, but not very helpful as a consumer of the java API..
I've downloaded the demo application (https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android) and after much fiddling have the android project open and close to running, but I couldn't get the dependency for dropbox-core-sdk to gradle sync, which prevents me running it and getting a better understanding of the workflow, especially around users authenticating my DropBox app to view their content.
compile group: 'com.dropbox.core', name: 'dropbox-core-sdk', version: '0-SNAPSHOT', changing: true
Replacing the above with this below line doesn't help, as a multitude of classes are not found in the OpenWithActivity class (e.g. DbxOfficialAppConnector, DropboxParseException, DropboxUidNotInitializedException).
compile 'com.dropbox.core:dropbox-core-sdk:2.1.1'
I'm sure I've missed something obvious and I know this will be the first step on the V2 road; but any help would be appreciated.
Cheers
Jeremy