We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
r. joy
10 years agoNew member | Level 1
ios9 ,canOpenURL: failed for URL: "dbapi-2...
Ios9 system, access to login screen I get the following error: -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)",
so , I add "dbapi-2" to LSApplicationQueriesSchemes,
but, the error is still there
- r. joyNew member | Level 1
the code is dropbox SDK,The following is the interface code I wrote:
DBSession* session = [[DBSession alloc] initWithAppKey:appKey appSecret:appSecret root:root];
session.delegate = self; // DBSessionDelegate methods allow you to handle re-authenticating
[DBSession setSharedSession:session];
[session release];
// [DBRequest setNetworkRequestDelegate:self];
return [[DBSession sharedSession] isLinked];
- William P.10Explorer | Level 4
Same problem happening with your sample app. I guess it is too much to ask for a working example with the latest iOS system. I know that would take at least 30 minutes to update so I assume you will deprecate core api like you did sync and leave us stranded again. Perhaps I should move my customers elsewhere.
This is after adding code so the the window appears.
2016-02-19 13:47:59.195 DBRoulette[2433:157598] -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "This app is not allowed to query for scheme dbapi-2"
2016-02-19 13:47:59.200 DBRoulette[2433:157598] Warning: Attempt to present <UINavigationController: 0x7fa0ac837c00> on <RootViewController: 0x7fa0ab739370> whose view is not in the window hierarchy!
- Greg-DBDropbox Staff
Victor, this message is expected if the official Dropbox app isn't installed even when URL scheme is pre-registered, but the SDK should fall back to using the built-in auth flow. Is that not what you're seeing? If not, what does happen?
- William P.10Explorer | Level 4
Gregory,
Unexpected behavior? It doesn't work. I already had read the post you linked to so your comment was no help. I suggest you try it yourself. Obviously I am not the only one that is having an issue. Regards
- Basil B.2New member | Level 1
لسيب
- Greg-DBDropbox Staff
Can you share the relevant code snippet(s) as well as the relevant section of your app's plist so we can look into this? Thanks in advance!
- r. joyNew member | Level 1
- Greg-DBDropbox Staff
Thanks! That looks right. Do you have the official Dropbox app installed on the device you're seeing this on? (Or are you using the simulator?)
This message is expected even when URL scheme is pre-registered if no app is installed that supports the dbapi-2 URL scheme. The app authorization process should still work by falling back to the in-app flow though. Does the app authorization process still work for you in this case?
- r. joyNew member | Level 1
thanks your reply,On my device do not have the official Dropbox app, I am using a iphone6 debugging.
My application is still debug phase.
Although the connection dropbox login screen reported "dbapi-2" mistake, but after waiting for some time, the login screen can display. - Greg-DBDropbox Staff
It sounds like this is working as expected then. If the Dropbox app is installed, that will be used instead.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 2 hours agoIf 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 or Facebook.
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!