-
How to set clientIdentifier, using SwiftyDropbox
In the Java API, a clientIdentifier is set when creating a DbxRequestConfig object. I'm wondering, is there an equivalent in SwiftyDropbox? I was trying to search it myself, but it seem like the link (http://dropbox.github.io/SwiftyDropbox/api-docs/latest/ ) to the SwiftyDropbox api docs is broken. Thanks
-
DbxCredential Android vs Java
I recently updated my Android app to use OAuth code flow with PKCE, with refresh tokens. I am now working to update my Java Desktop application to also use PKCE with refresh tokens, and while looking at the examples I noticed a difference, in the way the DbxCredential is handled. For android…
-
Questions about creating DbxClientV2 using DbxCredential
Hi, I am looking to start using Short-Lived tokens (using PKCE and refresh tokens), and have been looking at the Android example code from: https://github.com/dropbox/dropbox-sdk-java/tree/3162efeccaca247e25553acd21f6ac0bf9018ad6/examples/android/src/main/java/com/dropbox/core/examples/android I have a couple of questions…
-
SwiftyDropbox - show current SDK version
In SwiftyDropbox, is there a way to display the current version of the Dropbox SDK (currently 4.3.0), similar to the Java API's: DbxSdkVersion.Version In Objective-C I believe you can use: kV2SDKVersion I am hoping there is something similar for the Swift version; I tried looking but couldn't find anything Thanks,
-
SwiftyDropbox - how to catch improperly formatted path
If I make a call, (e.g. using listFolder), and I pass in an invalid path argument, (e.g. no leading slash), I get the following error: precondition failed: "Does not exist must match pattern "\A(?:(/(.|[\r\n])*)?|id:.*|(ns:[0-9]+(/.*)?))\z": I understand why the error occurs, but the error seems to occur, before the call…
-
SwiftyDropbox, routeError not being generated
I'm just getting started with SwiftyDropbox, and am trying to get a better handle on Error Handling. I'm making a call to the /list_folder route, using dbClient.files.listFolder. If I put in a valid value for path, it all works great, but in order to test out the error hanlding I put invalid path (i.e. a path that doesn't…
-
Clearing cached files.
I'm creating an iOS app using Sync API. For testing purposes, I was wondering if there was a way to clear all the previously downloaded/cached files, so when I call openFile, it will download from Dropbox instead of using cached file.