-
IOS ASWebAuthenticationSession for OAuth
Previously I used a WKWebView browser control to perform the OAUth. This allowed me to trap the redirect URL to obtain the access code. My redirect URL was http://localhost/Auth Now I am using the Native browser interface ASWebAuthenticationSession This requires that you use an APPLICATION specific callback URL scheme for…
-
API V2 SwiftyDropbox on OSX
What is the procedure to use the Swift API V2 on OSX. I used the same process for the IOS project ... but I get errors: Target 'Pods' of project 'Pods' was rejected as an implicit dependency for 'Pods.framework' because it doesn't contain platform 'macosx' in its SUPPORTED_PLATFORMS 'iphonesimulator, iphoneos'
-
Java API V2 Session Upload
Can you post a simple example showing how to use: uploadSessionStart uploadSessionAppendBuilder uploadSessionFinishBuilder Including intermediate steps ... I am stuck on how to get a SessionID after calling uploadSessionStart. An example of this process should be available on ALL platforms! Android AP1V1, was easy, I…
-
Java API - V2
I am trying to ugrade my Android App to V2. I have added the new API to the Eclipse Project using the Maven dependency. There appears to be a dependency on SquareOK.com that I am not getting. When I call: DbxClientV2 GetClient(String Token) {0 String userLocale = Locale.getDefault().toString(); DbxRequestConfig…
-
API V2 Can't get large file Upload working
Some context for the following: 1) DBAPIMetadata is just my wrapper for Files.Metadata that I can pass to Objective-C 2) The BGHelper at the end (when the call is not on the MainThread) just call the function On the main thread and blocks the background thread until it completes. Basically any calls on the main thread are…
-
Swift API v2 and filesGetMetadata with a path of "/"
I am calling this from within an Application Context. So "/" should be my App directory. Two problems: 1) I get a server error reposponse: {"error_summary": "path/malformed_path", "error": {".tag": "path", "path": {".tag": "malformed_path"}}} 2) When I get this error ... The Swift api fails to deserialize "malformed_path"…
-
Swift API v2 Example of uploading a file using filesUploadSession(Start, Append, Finish)
I have used the OSX interface in the past for chunked file uploads to support large files. I can not quite figure out the process with the Swift API. Test cases for the API would be great, they would provide examples of usage. In the absence ... do you have any code examples that you can share.