Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android TV App Will Only Show a Black Screen with the Spinning Loading Symbol and Sidebar Menu - Started in the Afternoon of December 19, 2024 #243

Open
BurntPockets opened this issue Dec 20, 2024 · 12 comments
Labels
bug Something isn't working

Comments

@BurntPockets
Copy link

BurntPockets commented Dec 20, 2024

The SmartTV Client Android TV App stopped working for me sometime after 2PM (Eastern USA) today on December 19, 2024 on my Android TV Device. It was working perfectly for most of today. Then after a break, I tried to watch Twitch using the app again in the late afternoon (Eastern USA), but it will not load any live streams or live stream pages properly. It only shows a black screen with the spinning loading symbol, infinitely looping; the sidebar menu is still visible and interactive.

I assume something with the December 19, 2024 update in the backend today affected the player.

The “Welcome to SmartTV Client for Twitch” pop up does not even show up on the Live and Front Page tab when its infinitely loading.
https://imgur.com/L0hHqIR
1

When I hold left, it does show thumbnail options for the channel that’s on that page, but it always shows options for only that one channel regardless of how many directional inputs I press (probably showing the top left most channel by default on that black screen).
https://imgur.com/ikkp575
2 Thumbnail Options

The “Welcome to SmartTV Client for Twitch” does pop up once I go to the Games section, it actually loads the Games Sections as it has no live video feeds.
https://imgur.com/XssH0eB
3 Welcome

https://imgur.com/NedUkj4
4 Games

When I click on try to actually go into a Live Channel (by going to my follow list and clicking the current live stream) or the Video tab, the entire program freezes. The side bar stops working and the entire UI freezes.

I was unsuccessful with the solutions below:

  • Changed settings back to default
  • Force Stop, Clear Cache, Clear Data
  • Reinstall
  • Install older version
  • Disabling hardware encoders, enabling software encoders
  • VPN

I use a R_volution PlayerOne 8k (Amlogic) that runs on Android TV; I changed no settings on this device and there were no updates (I even tried downgrading the firmware on my R_volution to test this out). The SmartTV app has worked perfectly on this device for months. SmartTV does seem to work fine on my Sony Bravia TV's internal system which runs on Android TV.
https://imgur.com/hbXmSNb
5 about

Device:

  • TV Manufacture Device: R_volution PlayerOne 8K
  • Os version: Android 11
  • Chipset: Amlogic S928X-K/J

Additional context
The only thing I changed before exiting the program when it worked was changing the “Key hold timeout” from “350” to “200” and “Always stay with the player opened after a live ends” from “Yes” to “No”.

  • Don’t think these things mattered since I tried changing the settings back and also resetting everything to default; they did not help
@AndersonB3M
Copy link

Me pasa lo mismo llegué acá y pensé que era el internet, hice de todo con la aplicación y el televisor y nada, jodieron la aplicación con esa actualización nueva que metieron

@destiny08-lab
Copy link

same problem

@fgl27
Copy link
Owner

fgl27 commented Dec 20, 2024

still not working today?

you all don't have a user added to the app?
does adding a user fix the issue?

@fgl27
Copy link
Owner

fgl27 commented Dec 20, 2024

can you all share what version of webview you are running? just open the about of the app and post here the first number after the word webview before the dot 83, 100, 131 something like that.

op show 83
image

that is very old and the cause of the issue

the latest version is 131

this is the one I'm running

image

Play Store shows the same

image

https://play.google.com/store/apps/details?id=com.google.android.webview&hl=en_US

if you are in an old version, can you update it? or your device is locked on that old version?

@fgl27
Copy link
Owner

fgl27 commented Dec 20, 2024

I have pushed a workaround to avoid that old webview issue if you close the app and reopen it, it must work.... I will add a warning in the app about it

@fgl27 fgl27 added the bug Something isn't working label Dec 20, 2024
@BurntPockets
Copy link
Author

BurntPockets commented Dec 20, 2024

I have pushed a workaround to avoid that old webview issue if you close the app and reopen it, it must work.... I will add a warning in the app about it

I appreciate the quick response and fast fix. Your workaround push update fixed it. Thank you.

Adding a user did not fix the issue; I did not add a user again because that was probably my 7th+ reinstall of the app.

Good tip on the Android System Webview update. According to the Play Store, my app is up to date. It seems like it could be a system level issue from the device because there are two Android System Webview apps on the device; I assume one on the system or hardware level (not updated) and one from the play store (updated). The android system OS cannot be updated for this device.

Is there anyway for the SmartTV Client to force use the second updated version of Webview, the com.google.android.webview instead of the com.android.webview? I tried disabling the outdated one, but the system will still not use the updated one.

Will the outdated Webview be an issue going forward? It seems like I cannot change the webview implementation; it’s not in the device’s developer options. Recompiling the APK may be the only solution (unless you can suggest an easier solution), but I am not sure if I am technically savvy enough to do that for a TV Media Device (not sure if it is even rooted).

Two installations of Android System Webview

  1. The top one with a Globe Icon (outdated)
  • Version 83.0.4103.120
  • com.android.webview
  1. The bottom one with a Gear Icon (updated)
  • Version 131.0.6778.135
  • com.google.android.webview

Screenshots
The top one with a Globe Icon (outdated)
https://imgur.com/pCsEWaI
https://imgur.com/uPEKS6J

5 Outdated webview a
6 outdated webview b

The bottom one with a Gear Icon (updated)
https://imgur.com/nmcx8N8
https://imgur.com/ErAzT8O

7 updated webview a
8 updated webview b

@fgl27
Copy link
Owner

fgl27 commented Dec 20, 2024

I have pushed a workaround to avoid that old webview issue if you close the app and reopen it, it must work.... I will add a warning in the app about it

I appreciate the quick response and fast fix. Your workaround push update fixed it. Thank you.

Adding a user did not fix the issue; I did not add a user again because that was probably my 7th+ reinstall of the app.

Good tip on the Android System Webview update. According to the Play Store, my app is up to date. It seems like it could be a system level issue from the device because there are two Android System Webview apps on the device; I assume one on the system or hardware level (not updated) and one from the play store (updated). The android system OS cannot be updated for this device.

Is there anyway for the SmartTV Client to force use the second updated version of Webview, the com.google.android.webview instead of the com.android.webview? I tried disabling the outdated one, but the system will still not use the updated one.

Will the outdated Webview be an issue going forward? It seems like I cannot change the webview implementation; it’s not in the device’s developer options. Recompiling the APK may be the only solution (unless you can suggest an easier solution), but I am not sure if I am technically savvy enough to do that for a TV Media Device (not sure if it is even rooted).

Two installations of Android System Webview

  1. The top one with a Globe Icon (outdated)
  • Version 83.0.4103.120
  • com.android.webview
  1. The bottom one with a Gear Icon (updated)
  • Version 131.0.6778.135
  • com.google.android.webview

Screenshots The top one with a Globe Icon (outdated) https://imgur.com/pCsEWaI https://imgur.com/uPEKS6J

The bottom one with a Gear Icon (updated) https://imgur.com/nmcx8N8 https://imgur.com/ErAzT8O

I will make sure the app is tested in an old webview implementation before updates.

On a computer is possible to download an older standalone version of webview from sites such as:

https://chromium.en.uptodown.com/windows/versions

and then one can just open the app using this link

https://fgl27.github.io/SmartTwitchTV/release/index.html

Or directly using the source code of the project (recommended).

I'll see if I can find an even older version I just tested in webview 81.0.4032 and is working as expected, in that version I can replicate the bug you all had and prevent from returning.

For selecting the webview version there may be a way, I don't know if all android version have this option but one can select the version doing this:

Enable developer options

  • Go to Settings > About tablet
  • Tap 10 times on Build number
  • A toast should appear that you are now a developer

Switch WebView implementation

  • Go to Settings > System > Developer options > WebView implementation
  • Select the default WebView implementation

But that may not be available to all as some manufacturers just don't allow all Android features.

What seems to be happening here is that the system is updating webview but not letting the latest installed version take precedence over the other.

I will review this scenario where there is more than one available webview if the app can choose the latest, I'm not sure.

running on an old version can also introduce general lags and other related issues so is best that we can find a solution.

Will try to work on that the next days that I have some free time.

@ ALL keep me updated on any new issue or something related to the problem

@fgl27
Copy link
Owner

fgl27 commented Dec 20, 2024

Enable developer options

  • Go to Settings > About tablet
  • Tap 10 times on Build number
  • A toast should appear that you are now a developer

Switch WebView implementation

  • Go to Settings > System > Developer options > WebView implementation
  • Select the default WebView implementation

Anyone that had success changing the version using this, please let me know.

@BurntPockets
Copy link
Author

Enable developer options

  • Go to Settings > About tablet
  • Tap 10 times on Build number
  • A toast should appear that you are now a developer

Switch WebView implementation

  • Go to Settings > System > Developer options > WebView implementation
  • Select the default WebView implementation

Anyone that had success changing the version using this, please let me know.

Thanks, the Developer Options menu shows up correctly after tapping 10 times, but the WebView Implementation option is not there for my particular device. This method may work for others using different devices.

Looking forward to the updates. I appreciate all the hard work that goes into consistently improving the quality of this app.

@fgl27
Copy link
Owner

fgl27 commented Dec 20, 2024

Enable developer options

  • Go to Settings > About tablet
  • Tap 10 times on Build number
  • A toast should appear that you are now a developer

Switch WebView implementation

  • Go to Settings > System > Developer options > WebView implementation
  • Select the default WebView implementation

I believe most TV devices don't have this option...

I managed to activate a different version of webview by doing the simple thing of installing a beta version with a higher version number, disabling the system webview, and rebooting.

After the reboot, the new versions was active, before the reboot even after disabling it no.

Try that let me know.

@BurntPockets
Copy link
Author

BurntPockets commented Dec 20, 2024

Enable developer options

  • Go to Settings > About tablet
  • Tap 10 times on Build number
  • A toast should appear that you are now a developer

Switch WebView implementation

  • Go to Settings > System > Developer options > WebView implementation
  • Select the default WebView implementation

I believe most TV devices don't have this option...

I managed to activate a different version of webview by doing the simple thing of installing a beta version with a higher version number, disabling the system webview, and rebooting.

After the reboot, the new versions was active, before the reboot even after disabling it no.

Try that let me know.

Unfortunately that did not work for me; the app fails to load because it does not detect webview after disabling my outdated one. I made sure to have the newer beta one downloaded and rebooted my device. Are you working with the "com.android.webview" Webview on your device? I think the situation would be hard to replicate without using that one.

Below is more information I found regarding my systems version of Webview (AOSP). AOSP is the com.android.webview one and GMS is the com.google.android.webview

WebView in Android AOSP (which comes with the SDK) and WebView in Android GMS (Google-branded devices) are different packages, and the OS is wired to use the corresponding package. Thus, even though it's possible to install these apks criss-cross on a different OS flavour, they will not work there.

  • WebView is updated via Play Store, which only exists on GMS devices, not on the emulator. So the AOSP version can only be updated manually.
  • But besides these package name differences, both WebView AOSP and WebView GMS are essentially the same.

The poster from this old link has the same icons I do for the 2 different versions of Webviewer
https://stackoverflow.com/questions/30785197/update-android-system-webview-on-sdk-emulator/30834110#30834110

@fgl27
Copy link
Owner

fgl27 commented Dec 20, 2024

Yes, you are right the device was running com.google.android.webview.

I use the canary version from

https://play.google.com/store/apps/details?id=com.google.android.webview.canary

After disabling and rebooting the canary was enabled as the default

I don't have a device running

com.android.webview

I will review all the info and see what we can do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants