Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
printappdev
7 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
1 Reply
- Greg-DB7 years ago
Dropbox Community Moderator
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.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!