Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hello.
Actually, our device doesn't have a browser. so I used android webview for OAuth login.
Sometimes loading login page was failed. The blank page was displayed.
Do you have any ideas to solve this problem?
I/chromium: [INFO:CONSOLE(0)] "Refused to load the script '' because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' https://www.dropbox.com/static/compiled/js/ https://www.dropbox.com/static/api/ https://www.dropbox.com/page_success/ https://cfl.dropboxstatic.com/static/compiled/js/ https://www.dropboxstatic.com/static/compiled/js/ https://cfl.dropboxstatic.com/static/js/ https://www.dropboxstatic.com/static/js/ https://cfl.dropboxstatic.com/static/previews/ https://www.dropboxstatic.com/static/previews/ https://cfl.dropboxstatic.com/static/api/ https://www.dropboxstatic.com/static/api/ https://cfl.dropboxstatic.com/static/cms/ https://www.dropboxstatic.com/static/cms/ https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/ 'unsafe-inline' ".
Thanks
The Dropbox OAuth app authorization page should only be processed in the user's system browser. Using a web view is not officially supported, so I'm afraid I can't offer help with this.
That said, Android 4.4.2 itself is relatively old and I believe is itself no longer officially supported by Google, so you may want to look into upgrading to a newer version. Or, at least upgrading the version of Chromium used in your webview, if possible, as that may help with the issue.
Hi there!
If you need more help you can view your support options (expected response time for a 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!