Dropbox Datastore to API 2 Migration Error

邮差的信 提交于 2020-01-22 02:06:53

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!