Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Lijia
10 years agoNew member | Level 2
DBChooser is not supported iOS10.0
In myapp-info.plist,I have added two new items with the values dbapi-1 and dbapi-3 in the LSApplicationQueriesSchemes, and I have entered db-APP_KEY in the URL Schemes. When I perform this method: [[DBChooser defaultChooser] openChooserForLinkType:DBChooserLinkTypePreview fromViewController:self.mDocListVC completion:^(NSArray *results) { if ([results count]) { DBChooserResult *result = [results objectAtIndex:0]; RRSimplePublishFile *publish = [[RRSimplePublishFile alloc] initWithDropBox:result]; publish.transactionId = self.transactionId; [AppNavigator pushViewController:publish animated:YES]; return; } }]; In iOS9+,it always pop up “please install Dropbox”,and reports the error below : 2016-10-25 13:05:45.405 RenrenEstate[13541:5034403] -canOpenURL: failed for URL: "dbapi-3://1/chooser?k=j6a26dox62s9sa5&linkType=preview" - error: "The operation couldn’t be completed. (OSStatus error -10814.)" 2016-10-25 13:05:45.418 RenrenEstate[13541:5034403] -canOpenURL: failed for URL: "dbapi-1://chooser" - error: "This app is not allowed to query for scheme dbapi-1"
1 Reply
- Greg-DB10 years ago
Dropbox Community Moderator
The 10814 error code you're getting for dbapi-3 is expected when no application is installed to handle that URL scheme. That would be expected, for example, if the Dropbox app isn't installed (e.g., on the simulator). Is that the case in your scenario? (The Dropbox Chooser is actually built in to the official Dropbox app, so the official app needs to be installed for the Chooser to work.)
The "This app is not allowed to query for scheme" error you're getting for dbapi-1 would be expected if you're not registered for dbapi-1 under LSApplicationQueriesSchemes in your app's plist. You mentioned you did that, but can you double check that was entered correctly? If it's not working as expected, please share your plist so we can try to reproduce the issue.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!