Closed luis-barreira closed 2 months ago
Similar issue here with a Nvidia Shield Pro (2019)
The Bug currently exists, here at two SONY TV, one is Google TV based from 2022 and the other is nearly ten years old (driven with Magenta Stick and Android). In both I can't choose "YES" or "NO". There exists no frame around the buttons to choose.
Are you going to fix this? I don't know why it doesn't sign in and use Trakt like every other application on the planet that just asks you to put in a pin that it then verifies with Trakt.Tv this is super annoying!
@nhockey, the explanation is simple: it used to work and trakt changed something in their login page which makes the yes/no area not focusable for some reason. I will have a look when I am done with my other dev tasks (nova open-source, maintained by small community on spare time).
Since it is a regression, I opened a ticket to trakt.
I don't think the problem is so much on their end but is on Nova's end. They have switched to Oauth2 and since this application is mostly used on televisions It should be using the pin-based API they have available not the typical authentication methods. Since I'm not super familiar with your code base I'm not sure how to best implement it in your application. But here's a link to their documentation on how to implement pins over the whole login/password thing. It doesn't seem too overly complicated. https://trakt.docs.apiary.io/#reference/authentication-devices/authorize-application
@nhockey, I know the trakt API and I have reviewed the OAuth2 way too. I do not debate what method should be used. What I say is something else: it works on my phone with touchscreen the current way it is implemented in nova but not on Android TV with DPAD. The focus used to work in the dedicated webview exposed by trakt on their own URL. It no longer works. This hints at a regression on their side.
My workaround: I added a PC-mouse to my TV and with this I can click on the green field to say YES
Observation: with a tab you have trakt OAuthDialog yes/no buttons focusable: issue is on nova or most probably due to Android system webview update...
Proper focus should be restored via an ugly hack in 6.2.13 pre-release: please test and report if it works out for you.
Problem description
Because of some problems with some other software, I had to revoke access to my Trake account to all apps. When I tried to sign in to Trakt with Nova Video Player on an Android TV device I came across two problems:
It was not the first time I saw the keyboard obscure the fields, but it was the first time I could not complete the process.
Steps to reproduce the issue
Try to sign in to Trakt on an Android TV
Expected behavior
Complete the process and link my Trakt account
Your phone/tablet/androidTV model
Mi TV Stick
Operating system version
Android 9
Application version and app store
6.0.71 (20220623.1933) from Google Play Store
Additional system information
Screen resolution is 1080p
Debug logs
No response