I'm using swiftydropbox in swiftui and when I try to authenticate using the dropbox app I get a popup that says: Error loading app info - An unknow error occurred. All scopes are set in app console. When I try to authenticate using safari (so I need to uninstall dropbox app) it works.
Please help. I'm using dropbox business.
let scopeRequest = ScopeRequest(scopeType: .team, scopes: ["team_data.team_space", "team_info.read", "team_data.member", "files.metadata.read"], includeGrantedScopes: false)
DropboxClientsManager.authorizeFromControllerV2 (
UIApplication.shared,
controller: uiViewController,
loadingStatusDelegate: nil,
openURL: { (url: URL) -> Void in UIApplication.shared.open(url, options: [:], completionHandler: nil) },
scopeRequest: scopeRequest)