Niagara-Issues icon indicating copy to clipboard operation
Niagara-Issues copied to clipboard

Android 13+ Media Widget + Podcast Apps

Open dabluck opened this issue 1 year ago • 1 comments

Describe the bug

Hi, I am the developer of a podcast app. My users have complained the forward/backward buttons do not work properly with the Niagara Launcher media widget on Android 13+.

I tried the launcher and it seems that the forward/backward buttons send session commands COMMAND_SEEK_TO_PREVIOUS and COMMAND_SEEK_TO_NEXT even when the media session has disabled those commands. You can verify this by checking against the Android 13+ media notification, which will correctly hide and show the previous/next buttons according to the session.

I checked your website and it advises supporting proper media sessions, but my app is indeed supporting proper media sessions, it's just that Niagara is not reading the available commands.

I can't easily modify this behavior as it is the default in media3 and changing available commands will alter the media notification itself on Android 13. I think the best fix is for Niagara to read available commands and show a rewind/fast forward button if those commands are available and the seek-to-previous is not. This would be a better experience for podcast apps. Even if apps work around the existing implementation, the button icon is still unclear.

Please let me know your thoughts or if I'm missing anything.

Thanks, Dustin Aurelian Audio

Steps to reproduce

Explained above

Does the issue also occur with other 3rd-party launchers?

Not applicable

Other 3rd-party launcher(s) tested

No response

Device name

Galaxy A23

Android version

Android 13

Screenshots / Screen recordings

No response

dabluck avatar Jan 07 '24 22:01 dabluck

Thanks for your report. We'll take a look at it and get back to you.

NiagaraSupport avatar Jan 19 '24 12:01 NiagaraSupport