简体   繁体   中英

iOS DropBox API authentication issue

I'm trying to implement the dropbox sync api.

When I run this code:

- (void)getDropBoxAuthenticationPageWithViewController:(UIViewController *)viewController {
    [[DBAccountManager sharedManager] linkFromController:viewController];
}

I get a viewcontroller popping up saying: "This app can't be used with the sync API"

But if I download the dropbox app and then run this code, it passes me to the dropbox app and the authentication is perfect.

What am I doing wrong???

Some more details:

The status of my dropbox app is Development,

The permission type is "Full Dropbox"

You can only use "File type" or "App folder" permissions with the Sync API. Your app has "Full Dropbox" permissions and is thus not compatible with the Sync API.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM