You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -14,7 +14,7 @@ If you're using Maven, then edit your project's "pom.xml" and add this to the `<
14
14
<dependency>
15
15
<groupId>com.dropbox.core</groupId>
16
16
<artifactId>dropbox-core-sdk</artifactId>
17
-
<version>2.0.6</version>
17
+
<version>2.1.0</version>
18
18
</dependency>
19
19
```
20
20
@@ -23,11 +23,11 @@ If you are using Gradle, then edit your project's "build.gradle" and add this to
23
23
```groovy
24
24
dependencies {
25
25
// ...
26
-
compile 'com.dropbox.core:dropbox-core-sdk:2.0.6'
26
+
compile 'com.dropbox.core:dropbox-core-sdk:2.1.0'
27
27
}
28
28
```
29
29
30
-
You can also download the Java SDK JAR and and its dependencies directly from the [latest release page](https://github.com/dropbox/dropbox-sdk-java/releases/latest).
30
+
You can also download the Java SDK JAR and and its required dependencies directly from the [latest release page](https://github.com/dropbox/dropbox-sdk-java/releases/latest). Note that the distribution artifacts on the releases pages do not contain optional dependencies.
31
31
32
32
## Get a Dropbox API key
33
33
@@ -52,7 +52,7 @@ Before your app can access a Dropbox user's files, the user must authorize your
52
52
* Example for an Android app: [Android example](examples/android/src/main/java/com/dropbox/core/examples/android/UserActivity.java)
53
53
* Example for a command-line tool: [Command-Line Authorization example](examples/authorize/src/main/java/com/dropbox/core/examples/authorize/Main.java)
54
54
55
-
Once you have an access token, create a [`DbxClientV2`](https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.0.x/com/dropbox/core/v2/DbxClientV2.html) and start making API calls.
55
+
Once you have an access token, create a [`DbxClientV2`](https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.1.x/com/dropbox/core/v2/DbxClientV2.html) and start making API calls.
56
56
57
57
You only need to perform the authorization process once per user. Once you have an access token for a user, save it somewhere persistent, like in a database. The next time that user visits your app's, you can skip the authorization process and go straight to creating a `DbxClientV2` and making API calls.
58
58
@@ -158,9 +158,10 @@ Another workaround is to tell your OSGi container to provide that requirement: [
158
158
159
159
### Does this SDK require any special ProGuard rules for shrink optimizations?
160
160
161
-
Versions 2.0.0-2.0.3 of this SDK require specific ProGuard rules to work with shrinking enabled. However, since version **2.0.4**, the SDK no longer needs special ProGuard directives. However, you may want to consider adding "-dontwarn" directives for unused optional dependencies:
161
+
Versions 2.0.0-2.0.3 of this SDK require SDK-specific ProGuard rules when shrinking is enabled. However, since version **2.0.4**, the only ProGuard rules necessary are for the SDK's required and optional dependencies. If you encounter ProGuard warnings, consider adding the following "-dontwarn" directives to your ProGuard configuration file:
0 commit comments