americosfacebook / googletv-issues

Automatically exported from code.google.com/p/googletv-issues
0 stars 0 forks source link

Dropbox Android SDK authentification is not working on the latest Google TV 2.0 (Honeycomb 3.1) #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
INTRO: 
Google TV 2.0 has a special version of Google Chrome browser which looks like 
behave differently when linking Dropbox account via Dropbox Android SDK. As the 
result an app cannot be linked to the Dropbox account due to a bug in Google 
Chrome (?). 

VERSIONS: 
- Dropbox Android SDK 1.2.3 (January 11, 2012) 
- Logitech Revue, firmware 3.1
- Google TV fishtank 2011/10/14, firmware 3.1

STEPS TO REPRODUCE: 
1. Download Dropbox Android SDK from 
https://www.dropbox.com/developers/reference/sdk. 
Unpack it. SDK contains an example app called DBRoulette. 

2. Create a new test app under https://www.dropbox.com/developers/apps. 
You will be provided app and secret keys. 

3. Copy generated app key and secret key to AndroidManifest.xml and 
DBRoulette.java file of DBRoulette project. 

4. Compile and run the DBRoulette project on Google TV. 

5. Press "Link with Dropbox" button. Web browser activity will be started. 
Enter your Dropbox username/password and press "Login" button. Press "Allow" 
button to allow app linking with Dropbox account. On Google TV it opens a new 
"Allow" page and so on. Pressing Back leads to the original activity but 
dropboxApi.getSession().authenticationSuccessful() returns false. 

On any other Android phones/tablets pressing "Allow" button closes web browser 
activity and redirects back to the original activity with 
dropboxApi.getSession().authenticationSuccessful() = true. 

Original issue reported on code.google.com by Alexey.V...@gmail.com on 1 Feb 2012 at 1:28

GoogleCodeExporter commented 8 years ago
Still not fixed on Fishtank running Android 3.2 (fishtank_appdev-eng 3.2 MASTER 
9850 2012/01/26)

Original comment by Alexey.V...@gmail.com on 3 Feb 2012 at 6:42

GoogleCodeExporter commented 8 years ago
Could you try modifying the source code to open the link in a WebView instead 
of chrome? Let me know if it works with WebView.

Original comment by mjo...@google.com on 3 Feb 2012 at 7:04

GoogleCodeExporter commented 8 years ago
No, I can't. I cannot run Dropbox SDK authentication in WebView instead of 
Chrome. This is done by Dropbox SDK automatically.

Original comment by Alexey.V...@gmail.com on 6 Feb 2012 at 6:28

GoogleCodeExporter commented 8 years ago
This seems more like a feature request for Dropbox SDK authentication to 
support GoogleTV chrome implementation. But if you could send me some specific 
error log, I could forward it to the eng team.

Original comment by mjo...@google.com on 6 Feb 2012 at 6:47

GoogleCodeExporter commented 8 years ago
I have already submitted a Dropbox SDK request to make authentication without 
the launch of browser activity couple months ago
http://forums.dropbox.com/topic.php?id=47815

There are no relevant logs regarding the problem.

To repeat the issue you have to generate test Dropbox app key and run 
DBRoulette test app from Dropbox SDK. It should be easy.

Original comment by Alexey.V...@gmail.com on 6 Feb 2012 at 6:58

GoogleCodeExporter commented 8 years ago

Original comment by mjo...@google.com on 6 Feb 2012 at 7:03

GoogleCodeExporter commented 8 years ago

Original comment by mjo...@google.com on 5 Apr 2012 at 11:59

GoogleCodeExporter commented 8 years ago
Take this up with DropBox

Original comment by kri...@google.com on 3 Jan 2013 at 7:22

GoogleCodeExporter commented 8 years ago
Is this a bug in the Chrome browser implementation or the Dropbox SDK?
It seems that Chrome does not behave the same way as on other devices, which 
leads me to believe that Chrome on Google TV is simply not passing back the 
authentication information to the Dropbox Authentication activity.
Why do you think its a Dropbox issue, otherwise?

Original comment by habe...@gmail.com on 4 Jan 2013 at 2:26

GoogleCodeExporter commented 8 years ago
The version of Chrome on Google TV is the desktop version of Chrome (v11). It 
is not a special mobile version.

Original comment by kri...@google.com on 4 Jan 2013 at 3:59

GoogleCodeExporter commented 8 years ago
Does it support custom URL schemes?
Thanks

Original comment by habe...@gmail.com on 5 Jan 2013 at 5:28