Skip to content

Commit 886b128

Browse files
author
Karl Rieb
committed
2.0-beta-4 release.
1 parent 8a51169 commit 886b128

File tree

8 files changed

+2669
-2233
lines changed

8 files changed

+2669
-2233
lines changed

ChangeLog.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
---------------------------------------------
2+
2.0-beta-4 (2015-12-10)
3+
- Update sharing endpoints to support new paging routes.
4+
- Fix bug that caused sharing calls to fail due to bad shared folder IDs.
5+
16
---------------------------------------------
27
2.0-beta-3 (2015-12-01)
38
- Add a workaround for older Android versions' buggy SecureRandom.
4-
- Fix android example
9+
- Fix android example.
510

611
---------------------------------------------
712
2.0-beta-2 (2015-11-13)

ReadMe.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Dropbox Core SDK for Java 6+
22

3-
A Java library to access [Dropbox's HTTP-based Core API v2](https://www.dropbox.com/developers/documentation/http#documentation). This SDK also supports the older [Core API v1](https://www.dropbox.com/developers-v1/core/docs), but that support will be removed at some point.
3+
A Java library to access [Dropbox's HTTP-based Core API v2](https://www.dropbox.com/developers/documentation/http/documentation). This SDK also supports the older [Core API v1](https://www.dropbox.com/developers-v1/core/docs), but that support will be removed at some point.
44

55
License: [MIT](License.txt)
66

@@ -14,12 +14,12 @@ If you're using Maven, then edit your project's "pom.xml" and add this to the `<
1414
<dependency>
1515
<groupId>com.dropbox.core</groupId>
1616
<artifactId>dropbox-core-sdk</artifactId>
17-
<version>2.0-beta-3</version>
17+
<version>2.0-beta-4</version>
1818
</dependency>
1919
```
2020

2121
If you aren't using Maven, here are the JARs you need:
22-
- [Dropbox Core SDK 2.0-beta-3](https://oss.sonatype.org/content/repositories/releases/com/dropbox/core/dropbox-core-sdk/2.0-beta-3/dropbox-core-sdk-2.0-beta-3.jar)
22+
- [Dropbox Core SDK 2.0-beta-4](https://oss.sonatype.org/content/repositories/releases/com/dropbox/core/dropbox-core-sdk/2.0-beta-4/dropbox-core-sdk-2.0-beta-4.jar)
2323
- [Jackson Core 2.6.1](https://oss.sonatype.org/content/repositories/releases/com/fasterxml/jackson/core/jackson-core/2.6.1/jackson-core-2.6.1.jar) (JSON parser)
2424

2525
## Get a Dropbox API key

examples/android/ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This shows the Dropbox API authorization flow and some API calls to retrieve fil
77
Prerequisites: Apache Maven (to build the SDK), [Android Studio](http://developer.android.com/sdk/installing/) (not strictly necessary)
88

99
1. Download this repository.
10-
2. Build the SDK: run `mvn package` in the SDK root directory (two levels up from this folder).
10+
2. Build the SDK: run `mvn install` in the SDK root directory (two levels up from this folder).
1111
3. In Android Studio, choose "Import Project" and select this folder.
1212
4. Edit "src/main/AndroidManifest.xml" and "src/main/res/values/strings.xml" and replace `YOUR_APP_KEY_HERE` with your Dropbox API key ([how to get a Dropbox API key](../../ReadMe.md#get-a-dropbox-api-key)).
1313
5. Build and run.

src/com/dropbox/core/v2/DbxClientV2.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public final class DbxClientV2 extends DbxRawClientV2 {
2626
public final DbxSharing sharing;
2727

2828
/**
29-
* @param requestConfig
29+
* @param requestConfig Default attributes to use for each request.
3030
* @param accessToken The OAuth 2 access token (that you got from Dropbox) that gives your app the ability
3131
* to make Dropbox API calls against some particular user's account. The standard way
3232
* to get one of these is to use {@link DbxWebAuth} to send your user through Dropbox's
@@ -40,14 +40,16 @@ public DbxClientV2(DbxRequestConfig requestConfig, String accessToken) {
4040
* hostnames of the Dropbox API servers. This is used in testing. You don't normally need
4141
* to call this.
4242
*
43-
* @param requestConfig
44-
* @param accessToken
45-
* @param host
43+
* @param requestConfig Default attributes to use for each request.
44+
* @param accessToken The OAuth 2 access token (that you got from Dropbox) that gives your app the ability
45+
* to make Dropbox API calls against some particular user's account. The standard way
46+
* to get one of these is to use {@link DbxWebAuth} to send your user through Dropbox's
47+
* @param host Dropbox hosts to use (used for mocking during tests)
4648
*/
4749
public DbxClientV2(DbxRequestConfig requestConfig, String accessToken, DbxHost host) {
4850
super(requestConfig, accessToken, host);
4951
this.files = new DbxFiles(this);
5052
this.users = new DbxUsers(this);
5153
this.sharing = new DbxSharing(this);
5254
}
53-
}
55+
}

0 commit comments

Comments
 (0)