cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: Blank page on AOSP browser Android 6.0

Blank page on AOSP browser Android 6.0

PadMuDev
Explorer | Level 3

I get a blank page when I try to do a API Request.

The blank page appears also on dropbox.com website.

The issue affected AOSP browser on Android 6.0, others browsers work good, AOSP Browser on Android 4.4.4 works good.

I need a workaround beacuse the app run on a custom device without PlayStore with only the default browser

11 Replies 11

Greg-DB
Dropbox Staff

I'm not sure I understand your message. Can you clarify what you mean when you say you get a blank page from an API request? Dropbox API requests involve communicating with the Dropbox API servers, typically exchanging JSON, not HTML web pages, over HTTPS.

Are you referring to the Dropbox app authorization page itself (at https://www.dropbox.com/oauth2/authorize...)? That's not an API request, but rather just part of the Dropbox web site, used during the OAuth app authorization process.

If that's what you're referring to, please note that that web page is subject to the overall dropbox.com system requirements. That doesn't officially support the "AOSP browser", so I recommend upgrading to a newer, supported browser.

PadMuDev
Explorer | Level 3

The problem is that with the default browser pre-installed in Android 6.0 stock the dropbox.com website (and so also the authorization app page) show a blank page, so i can't authorize my app.
With the default browser on Android 4.4 stock all works good. 
One month ago also with browser pre-installed in Android 6.0 stock all was ok...

eWh5e8ka.jpg

Greg-DB
Dropbox Staff

I see, thanks for clarifying. 

Unfortunately, as that browser is not officially supported, I can't promise a fix, but I will bring this up with the team.

Greg-DB
Dropbox Staff

I just tried this myself with an Android 6.0 emulator, and I'm not seeing the behavior you're seeing:

Screenshot 2019-07-12 11.54.02.pngScreenshot 2019-07-12 11.54.15.png

Can you share the exact User-Agent for the browser you're using, as well as any JavaScript errors from the page?

PadMuDev
Explorer | Level 3

Here, more info:

Browser versionBrowser versionAndroid versionAndroid versionConsole errorConsole error

PadMuDev
Explorer | Level 3

There is a workaround,

If i flag "Request Desktop Site", the page works good

UPDATE: 

...but the Sign-In process doesn't work. 

 

Screenshot 2019-07-15 at 10.23.03.png

 

 

Greg-DB
Dropbox Staff

Thanks for the information! Can you share the User-Agent string though? You can get it by going here in the browser, for instance:

https://www.google.com/search?q=What%27s+my+User+Agent

PadMuDev
Explorer | Level 3

Real device:
Mozilla/5.0 (Linux; Android 6.0.1; Max2 Build/2018-12-26_19-06_2.0.1_0d1b2fc; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/44.0.2403.119 Safari/537.36

 

Emulator:

Mozilla/5.0 (Linux; Android 6.0; Android SDK built for x86 Build/MASTER; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/44.0.2403.119 Safari/537.36

 

 

Greg-DB
Dropbox Staff

Thanks! That's helpful. I'm bringing this up with the team. Again though, I unfortunately can't promise a fix as this browser isn't officially supported. 

Need more support?