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

Cast button is not always visible on Android 13 #124

Open
sandorbokor opened this issue Jan 22, 2023 · 1 comment
Open

Cast button is not always visible on Android 13 #124

sandorbokor opened this issue Jan 22, 2023 · 1 comment

Comments

@sandorbokor
Copy link

sandorbokor commented Jan 22, 2023

I know this is not the sample app's problem, but trying to see how widespread the issue is.
We are getting user feedback that casting isn't working well and based on the play reviews the common in these reviews are Android 13 devices.

The issue tracker is kind of dead, nobody answered from the cast team. Maybe here somebody notices it more easliy.

Here is an issue that is very similar to what we are experiencing.

https://issuetracker.google.com/issues/265603732

mudar added a commit to mudar/CastVideos-android that referenced this issue Jan 24, 2023
Add empty callback to MediaRouter to avoid losing cast button when
activity is paused
@mudar
Copy link

mudar commented Jan 25, 2023

We had the same issue in our app, and I was able to reproduce it in the sample app. It was not limited to Android 13.

While trying to figure out if this message was related to the issue

W/MediaRouter: Ignoring invalid provider descriptor: null

I ran into the MediaRouter documentation
https://developer.android.com/reference/androidx/mediarouter/media/MediaRouter#example
I updated the sample app to follow the MediaRouter setup example, and it fixed the missing button issue for both the sample app and our app.

I still have no idea what started causing the issue out of nowhere!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants