You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

SIGMA_DE's avatar
SIGMA_DE
Explorer | Level 3
5 years ago

Sign in does not work on Android OS 5.1 without Google API support

We develop an Android application with Dropbox integration on a dedicated Android device, which is running on a 5.1 Stock Android OS without Google API support. We already implemented a solution to ...
  • Greg-DB's avatar
    Greg-DB
    5 years ago

    Thanks for the additional information. 

     

    If you use the official Dropbox API v2 Java SDK as provided, it should automatically send the app authorization flow through the system browser, not a webview.

     

    It sounds like you're still using a webview in this case though, even with the SDK. Please note that, regardless of system version or SDK, you should not use a webview for the Dropbox app authorization flow, per our /oauth2/authorize documentation

    As for the issue, it sounds like it's because the webview is using an old browser engine, e.g., an old version of Webkit. Unfortunately that is not officially supported by the Dropbox web site

    Old browsers/engines like this are not officially supported by Dropbox and so may be prone to issues as the Dropbox web site is updated. (This is one of the reasons for our policy prohibiting webviews; we've found webviews are more prone to compatibility issues like this.) For example, it's likely that there's some JavaScript error or incompatibility when attempting to access the Dropbox web site form in this webview, causing the sign in form to fail, as you're seeing. 

    Since that isn't supported, I'm afraid we can't offer fixes for issues like this. I recommend you instead switch to a supported system browser to resolve this. I can't speak to whether or not updating the system browser itself would also update the webview, but regardless, the correct solution is to use a supported system browser directly.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,910 PostsLatest Activity: 3 days ago
333 Following

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 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!