I'm using a dropbox account to save data in my ios app. I don't want to authorize the current user, but I want to use the account associated with my app key to upload to a specific folder location. I've tested this with the api explorer and know that it is possible, but the documentation suggests that the swift sdk only allows authorization through a user signing into their dropbox account. Is it possible to do the upload with the swift sdk or will I need to just stick with the http api?
The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. However, it is technically possible to connect to just one account. The SDKs don't offer explicit support for it and we don't recommend doing so, for various technical and security reasons.
However if you did want to go this route, instead of kicking off the authorization flow, you would manually use an existing access token for your account and app. (Just be careful not to revoke it, e.g. via https://www.dropbox.com/account/security .)
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?