Take Your Search Game to the Next Level with Dropbox Dash 🚀✨ Curious how it works? Ask us here!
Forum Discussion
venu g.
9 years agoExplorer | Level 3
Dropbox login fails in android webview
I am using dropbox-android-sdk-1.6.2.jar but after successful oauth login, webview is showing "Webpage not available" error page. I have observed this behaviour on android OS 4.0.3, 4.3, 5.0.1, 6.0. Please refer this for screenshot of webview.
Thanks
7 Replies
Sort By
- Greg-DB
Dropbox Staff
The error is reporting that the db-<app_key> URL was not available. This is the redirect URI that the SDK uses to receive the user after they go through the app authorization flow.
Did you set up your db-<app_key> URL in your AndroidManifest.xml as instructed for the Android Core SDK?
In any case, I should note that the SDK you're using is for API v1 anyway, which is deprecated. You should migrate to API v2 whenever possible. For Android, you should use the API v2 Java SDK. There's an Android sample app for that to refer to.
- venu g.Explorer | Level 3
I will migrate to API V2 later but the app is already in production and facing this error. I have already specified db-<api_key> [api_key is my apps API key] in AndroidManifest.xml. It was working before but suddenly stopped working. Do you want me to share the exact value of api_key.
- venu g.Explorer | Level 3
Forgot to tell you, my app has been developed for android based device which doesn't have a browser. We have created an activity with webview to be invoked by dropbox API instead of browser and it was working fine.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,002 PostsLatest Activity: 7 hours ago
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!