cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn about how Kev uses Dropbox to make sure he keeps track of all the new music he listens to? Check out his tips 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: 

iOS - Problems connecting from own app to Dropbox when Dropbox App is installed

Re: iOS - Problems connecting from own app to Dropbox when Dropbox App is installed

gcarl
Explorer | Level 3

Dear GrebDB,

 

I did various tests on several devices with the same effect.

But finality I think, I found a solution.

Although specified in the app declaration on Dropbox, that the app needs scopes "files.content.write" and "files.content.read" too, it didn't work

 

Hence I changed the scope request when initially calling the Dropbox to get access and included all scopes:

"

let scopeRequest = ScopeRequest(scopeType: .user, scopes: ["files.content.write", "files.content.read", "account_info.read"], includeGrantedScopes: false)

            DropboxClientsManager.authorizeFromControllerV2(

                UIApplication.shared,

                controller: self,

                loadingStatusDelegate: nil,

                openURL: { (url: URL) -> Void in UIApplication.shared.open(url, options: [:], completionHandler: nil) },

                scopeRequest: scopeRequest

            )

"

By doing so, it seems that the problem is fixed.

Who's talking

Top contributors to this post

  • User avatar
    gcarl Explorer | Level 3
  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?