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
printappdev
6 years agoExplorer | Level 4
Loading URL for login is failed in android webview
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?
Below is the chromium log.
Device android version : Android 4.4.2 (KitKat)
Log
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
- Greg-DBDropbox Staff
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.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 days 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!