Comments
-
Thanks for the update @"Greg-DB" . I did some quick testing with version 10.0.3 and it seems to have fixed the problem with expired token.
-
Thanks, would it be helpful for me to log the issue in your GitHub repository (https://github.com/dropbox/SwiftyDropbox/issues)?
-
Yes, I am using the standard authorization functionality (authorizeFromControllerV2) as in the sample code. The difference between my code, and the sample code is in how a call `setupWithAppKey` inside the AppDelegate. In order to set the userAgent, I create an instance of transportClient: let transportClient:…
-
Hi, sorry to re-open this discussion, but it seems like this isn't working anymore after upgrading SwiftyDropbox to 10 (10.0.1). It seems like when using a custom DropboxTransportClient, so I can set the user-agent, the access token doesn't get refreshed. After integrating with Dropbox, all my calls work fine, but if I…
-
Thanks, that seems to work. Also, I noticed the link to the documentation now works, so thanks for that as well. One side question, I was looking through the documentation, but other than the example code, I couldn't find the actual api documentation for DropboxTransportClient (listing its Declaration, Parameters, etc.),…
-
Thanks Greg, I looked at the sample. How do I create a DropboxTransportClient, if all I want to do is set the userAgent; can I set all the other parameters to nil, to get the default behaviour?
-
Thanks Greg, that makes sense.
-
Thanks again for the clarification.
-
Thanks Greg, that is very helpful information. I have one follow up question: As in the example, after the Oauth flow is completed, I store the Credential (obtained from Auth.getDbxCredential, into prefs. Then, again like the example, I use the information from that stored Credential, to create a new Credential (using -1…
-
Ah, that clarifies things. Thank-you for your help, it is very appreciated.
-
Thanks for your quick response, so using startOAuth2PKCE method with give a Short Term Token, even if my app console is set to No Expiration?
-
Hi, I am also looking to migrate to short-lived token. Thank-you for posting the usage examples. One question I have is, if I update my code, using startOAuth2PKCE method, will that affect my Access Token Expiration setting in appConsole (currently set to No Expiration) for other apps accessing Dropbox? Basically I just…
-
Thanks
-
Thanks for the quick response. Is it possible to update this thread, if this feature gets added; or else is there some way I can track this feature request? I like putting the SDK version in my app's about screen so I can easily see which version is in use, for any trouble shooting issues. Thanks again!
-
That makes sense. I'll make sure my app uses only valid values for path. Thanks again for your quick and helpful response.
-
That's great! I really appreciate the quick response.
-
Yes, that was the problem, thanks! I'm pretty new to this type of construct, with these switch cases that have parameters. I was trying to find the documentation for CallError and .routeError but couldn't find it, and am still a little unclear about whole "boxed" thing. Thanks.
-
Perfect! I was looking for exactly the same thing. Thanks.
-
Thanks, I checked the Documentation for unlink, and you are correct: "Once an account is unlinked, the local cache is deleted.", so that is probably the easiest thing to do. Thanks also for the tip about resetting the iOS Simulator, I hadn't realize you could do that, and it may come in handy in the future.