We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
timeflying
9 years agoNew member | Level 2
checkAndPerformV1TokenMigration
I add a fuction with named checkAndPerformV1TokenMigration as following : -(void)performDropboxMigrationFromV1ToV2
{
BOOL willPerformMigration = [DBClientsManager checkAndPerformV1TokenMigratio...
Greg-DB
Dropbox Community Moderator
9 years agoNo, looking at the code you have, you don't need to also call it in didFinishLaunchingWithOptions.
For reference, whether or not you're running the checkAndPerformV1TokenMigration method, you need to make sure you call setupWithAppKey once.
If you're not using the migration, you can just call setupWithAppKey in didFinishLaunchingWithOptions.
If you are using the migration, as you are, the code you have will already make sure setupWithAppKey is called once, either at the end of the successful or failed migration, so you don't need to additionally call elsewhere.
For reference, whether or not you're running the checkAndPerformV1TokenMigration method, you need to make sure you call setupWithAppKey once.
If you're not using the migration, you can just call setupWithAppKey in didFinishLaunchingWithOptions.
If you are using the migration, as you are, the code you have will already make sure setupWithAppKey is called once, either at the end of the successful or failed migration, so you don't need to additionally call elsewhere.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!