redphx / better-xcloud-android

Android app to improve Xbox Cloud Gaming (xCloud) and Remote Play experiences
https://better-xcloud.github.io/android
MIT License
79 stars 3 forks source link

[Bug] “Unhandled Thrown Error!” when opening Xbox Guide Menu #76

Closed KingNothing81 closed 2 months ago

KingNothing81 commented 2 months ago

Device

Other

Device name

Shield TV

Android Version

Android TV 11

App version

0.11.0

Script version

3.5.2

WebView name and version

Android System WebView 123

Reproduction Steps

When opening the Xbox Guide during gameplay, I’m getting an “Unhandled Thrown Error!” message as shown in the screenshot.

PNG-Bild

This didn’t happen with the previous version of the Android app. And it doesn’t happen with the current script version when using Kiwi Browser. So I think it’s a bug in the Android app.

redphx commented 2 months ago

xCloud's bug. It happens randonly.

redphx commented 2 months ago

Android WebView doesn't support navigator.permissions API, so when the website tries to call navigator.permissions.query() you'll get that error.

Report the bug to them and wait for the fix. Or you can use Chrome WebView.

KingNothing81 commented 2 months ago

Thanks for the tip. It's indeed not just random for me, but permant. I tried it many times in the last days. Also with setting Chrome as WebView implementation. Actually I was using Chrome when the error came up. And then switched to the Android System WebView before I made the bug report. But it always happens when using the Android app. But never happens when trying it at the same time with Kiwi.

Leaving the guide open when starting a game, it seems to me that the error shows up in that moment when the "(muted) microfone" icon shows up in the guide's bottom bar when using Kiwi. But with the Android app, the error message shows up.

The strange thing is that when they intially rolled out the preview, the new guide still worked without that problem. So it must be the lastest update to the xCloud website that has caused this for me.

@redphx: If this is not a permant issue for you with the Android app, can you tell me which Chrome version you are currently using as WebView implementation?

KingNothing81 commented 2 months ago

Looks like the xCloud team already fixed it. The error message doesn’t show up anymore, even when using the default “Android System WebView”.