-
Offline files not downloaded when accessed programmatically (macOS)
Not sure where best to address this question, but it would appear to be API-related... We've got an existing app which has been working OK until recently on both Windows and Mac platforms, which accesses XML files stored in the user's local Dropbox folder. (The app is mainly cross-platform C++ with a thin layer of…
-
Conflicted copy on a folder?
OK, I understand the principle of what creates a conflicted copy with a file, which has been updated while another user (or the same user's account on another machine) has also updated it remotely. But what gets a *folder* marked as a conflicted copy? I'm seeing an odd situation: when the encryption software we're using…
-
OAuth permissions issues in SwiftyDropbox under Ventura?
Have there been any changes in recent versions of SwiftyDropbox to accommodate any new security restrictions on Ventura? I developed a macOS app with a FileProvider Finder extension, which initialises smoothly under Monterey and earlier versions; however, some people installing it on Ventura are reporting a whole string of…
-
SearchV2 cursor update
Just a quick question about the /search and /search/continue endpoints... I want to search for all files with a particular extension, and get notified of any updates. Do the cursors returned by /search and /search/continue behave the same as the /list_folder/continue cursors, in that they will continue to return new…
-
SwiftyDropbox download to stream?
Hi -- I'm experimenting with developing a macOS SwiftyDropbox app which downloads and uploads encrypted files, decrypting them on the fly on the user's local machine. I know there's a version of the download function which returns a DownloadRequestMemory rather than a DownloadRequestFile -- does this allow streaming to a…
-
SwiftyDropbox keychain permission dialog only appearing on Monterey
Hi -- we've been running a SwiftyDropbox-based macOS app for a couple of years now, with little or no trouble. Since we've started installing it on Monterey, we've noticed that on some -- not all -- Monterey machines, the first time the user successfully logs in to Dropbox, they get prompted for keychain access, which…
-
Background download from app extension in SwiftyDropbox
Hi -- my macOS app was working fine when I was downloading from Dropbox in the main app, but once I added download calls from my FileProvider helper app, I started getting a string of errors. First, in order to let both components talk to each other, I had to create my own transport client with the shared container…
-
Confirming token refresh in SwiftyDropbox
As mentioned in another thread, I've been upgrading an app to use short-lived tokens... and it's going very smoothly now. So smoothly that I'm suspicious. How can I confirm that it's not actually still using the old long-lived tokens? We've changed the app setting on the Dropbox website to short-lived tokens (...at least,…
-
Short-lived token migration in Swift producing nil Client
I'm migrating an old Swift app to SwiftyDropbox 6.0.3 and short-lived tokens with refresh; our app needs offline access. But with the code changes, I'm getting odd behaviour -- the completion handler in DropboxClientsManager.handleRedirectURL is never being called, with either a success or an error. It just quietly fails…
-
Saving and restoring a short-term token
Hi -- still trying to un-mothball and update an old SwiftyDropbox-based app, and migrate it to short-life tokens. The standard auth process is basically working now, but I'm wondering if I can preserve more of its old behaviour. Previously, I saved the long-life token to a plist file, and if it was still valid on app…
-
Filenames beginning with dot not found
I've been working with the SwiftyDropbox API, and until recently everything was fine. But some time in the past few months, I'm now getting incorrect results when I search for a filename that begins with a dot: client?.files.search(path: searchPath, query: ".empfs1.xml").response(queue: DispatchQueue.global(qos: .utility),…
-
Invoking context menu from elsewhere
Hi folks -- I'm working on an application which stores data in a non-Dropbox folder, and sometimes syncs the contents to a Dropbox folder. I'm already implementing a Windows context-menu handler for my app, which appears when you right-click the non-Dropbox folder -- and I'd love to include some sort "Share on Dropbox"…