We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
frixos
5 years agoExplorer | Level 3
Redirection after login with a google account do not work.
I have a problem with the login on DropBox in my app. (Login process with chrome mobile browser, App in Xamarin for Android) It works with google accounts I login one time before, therefore i think ...
frixos
5 years agoExplorer | Level 3
i found now a solution with the httpListener:
The security behaviour changed since Android 8. All devices higher than this version, will not work correct with the redirection.
The problem is, the httpListener blocks all incoming messages, after some time, if the app is in the background.
We can handel this by register the app as a forground service.
You need for this some code and one new android Permission "Forground".
The httpListener runs in a Android Service.
Are there a newer working example with the Xamarin WebAuthenticator? It would get a better user experience.
Greg-DB
Dropbox Community Moderator
5 years agoThanks for sharing your solution! We don't have any sample code for Xamarin unfortunately.
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!