cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more 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: 

Equivalent of [[DBSession sharedSession] isLinked] in API v2.

Equivalent of [[DBSession sharedSession] isLinked] in API v2.

Nagalakshmi
Explorer | Level 3
Go to solution

I have developed an iOS app which already used Dropbox API v1, now migrating to v2.  What is the equivalent of [[DBSession sharedSession] isLinked] in API v2 ?  Please let me know.  I have used [DBClientsManager authorizedClient], but every time, it is giving "YES" only.  It is not asking for dropbox permission for the first time.

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

Checking DBClientsManager authorizedClient is the equivalent in the API v2 SDK. The account is automatically persisted for you though, so the user won't have to manually authorize the app each time. If you want to remove the stored account(s), you can use unlinkAndResetClients or unlinkAndResetClient.

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution

Checking DBClientsManager authorizedClient is the equivalent in the API v2 SDK. The account is automatically persisted for you though, so the user won't have to manually authorize the app each time. If you want to remove the stored account(s), you can use unlinkAndResetClients or unlinkAndResetClient.

Nagalakshmi
Explorer | Level 3
Go to solution

Thank you Greg for the confirmation

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Nagalakshmi Explorer | Level 3
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?