问题
I'm trying to provide a way in my iOS app to migrate existing Datastore users to a new means of storing an SQLite database file on Dropbox via the new v2 API (SwiftyDropbox).
I'm currently trying to let them connect to Dropbox with the old Datastore API with:
let accountManager = DBAccountManager.init(appKey: "...", secret: "...")
DBAccountManager.setSharedManager(accountManager)
DBAccountManager.sharedManager().linkFromController(self)
I am then taken to the Dropbox app on my phone where I hit Allow and then return to my app and get this error:
Error Unknown: Unable to verify link request
Will I simultaneously be able to authenticate to the Datastore API and the new v2 API? If not, do you have some suggestions on how to access the user's data out of the datastore so I can put it in my own SQLite file?
来源:https://stackoverflow.com/questions/35235369/dropbox-datastore-to-api-2-migration-error