-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Showing Blank white screen with error dbapi-8-emm and dbapi-2://1/connect #167
Comments
|
The 10814 errors themselves are expected if the official Dropbox app isn't installed, so they're safe to ignore. (The SDK checks if the official app is installed, and would use that for the authorization flow if it is. If it isn't though, it will fall back to an in-app flow.) You shouldn't be seeing a blank screen for the authorization page though. Can you share a screenshot showing the issue? Also, which device(s) is it affecting? (Is it only affecting split view controllers on iPad? If so, that's a known issue we're looking into.) |
|
Based on the screenshot, it looks like you're seeing this on iPhone, not iPad. I just tried to reproduce this using the code you supplied, but it worked properly for me. I'm not sure I understand the part where you said "press done button of dropbox login screes it comes back" though. What specifically comes back? Can you clarify the steps to reproduce this? Additionally, please let us know:
By the way, I notice you mentioned you're using version 3.1.1 of the SDK. The latest version is 3.2.0, so please upgrade to that first and try again. |
|
I can confirm I'm seeing the same thing on v3.1.2 (and v3.2.0 won't compile, I've raised this issue). I had v3.0.18 before and it was working perfectly. |
|
@guidedways Can you let me know what version(s) of Xcode and iOS you're seeing this with? This isn't reproducing for me with SDK v3.1.2. |
|
This is Xcode 8.x (latest) and iOS Simulator 10.x (latest). I switched back to 3.0.18 and I've had no issues whatsoever. I tried this with a completely fresh install on a iOS simulator. The same code (unchanged) worked the moment I reverted back to v3.0.18. |
|
@guidedways Thanks! That's the same setup I'm testing with though and it unfortunately isn't showing the same issue for me. Does the DBRoulette sample app display the same issue for you? Also, does this only reproduce when following the steps outlined by shoaibhassanWhizpool above, or does it occur on every call to |
|
Hello! The app used splitViewController. |
|
@Oleksandren Thanks for the information! |
|
@greg-db So, working call to ask authorization in Dropbox look like the following (works only on the simulator): But it works only on simulator. |
|
I tried to use latest version of the Dropbox SDK. It is not helps to resolve bug. But when I used the latest version of the SDK, in the log appeared the following warning:
As I see in the search results this problem in iOS core (in the Safari View Controller which opened to make log in). Also the same bug with FBSDK too. |
|
Thanks again @Oleksandren ! We'll follow up here once we have any news on this issue. |
|
@greg-db |
|
Thanks @Oleksandren ! |
|
We have integrated dropbox SDK API v2 in our app.We are getting a blank screen,no login screen found when App runs on iPad.Our App runs fine on iPhone and the login screen appears.May you help us on this issue this seems to be a bug in your SDK,because the login screen is getting rendered from your server. |
|
Thanks for the additional report @manishbajo2008 ! I don't have an update on this yet, but I'll follow up here once I do. |
|
@greg-db |
|
@manishbajo2008 I work with the API team at Dropbox and I can confirm this issue is currently open with engineering, though I don't have a timeline for a fix right now. I do see that you just opened an API ticket and a forum thread for this, but I'll close those in favor of this GitHub issue so we can track this in one place. |
|
@greg-db Below find the details for rejection from Apple:- We discovered one or more bugs in your app when reviewed on iPad running iOS 11 on Wi-Fi connected to an IPv6 network. When attempting to connect Dropbox, an empty, white page is displayed with no close or back button. |
|
@manishbajo2008 Thanks for the information. I don't have an update from the team on this, but I'll let them know about the issues it is causing for you in app review to see if we can help. |
|
An update on this, I am facing the same issue. |
|
@manish-cs I don't have an update on this yet. I'll reply here once I do. |
|
Lovely iOS 11, in DBOAuthMobile-iOS.m add this before presentViewController:
Works for me! |
|
We're still looking into this, but it no longer reproduces for us. If anyone is still seeing this issue, would you be able to share a sample project that shows it? Thanks! |
|
Sorry for the long delay here. I think the solution is to make sure that you're passing the topmost view controller when authorizing. With the UISplitViewController case, it's not necessarily So would people mind trying this to see if it fixes the problem for them:
I can be sure to add a note in the documentation. |
|
Should check the top controller: |
|
Make sure you are not presenting the WebView from an ActionSheet - that can cause the blank screen / no loading issues. I wasted a long time before checking the view hierarchy which was ultimately my issue. I also was distracted by the TCP / Socket errors. |

Hello Dropbox Team,
i am getting
I am using pod version 3.1.1 into my application.
The text was updated successfully, but these errors were encountered: