cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Migrating from API v1

Migrating from API v1

Charles.K
New member | Level 2
Go to solution

I have the latest version of dropbox v2 sdk. (3.1.0)

I want to do token authentication from v1 to v2.

However, the following functions do not exist.

 

+ (BOOL)checkAndPerformV1TokenMigration:

            (nonnull DBTokenMigrationResponseBlock)responseBlock

                                  queue:(nullable NSOperationQueue *)queue

                                 appKey:(nonnull NSString *)appKey

                              appSecret:(nonnull NSString *)appSecret;

 

Is there another way?

I need help.

Thank you.

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

I just checked this in v3.1.0 and I do see checkAndPerformV1TokenMigration defined and working. There's some sample code in the readme.

 

Can you double check that you got 3.1.0 installed? If so, please share the code you're using and error/output you're getting.

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution

I just checked this in v3.1.0 and I do see checkAndPerformV1TokenMigration defined and working. There's some sample code in the readme.

 

Can you double check that you got 3.1.0 installed? If so, please share the code you're using and error/output you're getting.

Charles.K
New member | Level 2
Go to solution

Oh! I had a big mistake.
This happens because the names of working folders are similar.
I have verified version 3.1.0 and found that the feature exists.
Thank you very much.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Charles.K New member | Level 2
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?