You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Bug
The bug is described here: podverse/podverse-rn#1758
for ios, RNTP behaves as normal. for android Event.RemoteSkipNext will simply not fire (via bluetooth, as notification button is hidden) when Capability.next is not set as a notification capability, because MediaSessionConnector.QueueNavigator does not enable the next/previous actions then. This is fine for most apps but not for podverse, where the next/previous buttons should be replaced by forward/backward buttons.
Steps To Reproduce
Take out Capability.Next in notifications and try next/previous with a bluetooth headset on android
Right, at the moment the capabilities are both used to determine what the notification shows /and/ media session actions. I have a PR in the works that reworks and separates those two: #2076
It's a bit more complicated; skip next and previous, if enabled, will
always show buttons. This happens in both exoplayer2 and media3, and media3
has an option to disable certain action buttons, though poorly documented
I remember seeing commits of the capability revamp but then reverted too
Describe the Bug
The bug is described here: podverse/podverse-rn#1758
for ios, RNTP behaves as normal. for android Event.RemoteSkipNext will simply not fire (via bluetooth, as notification button is hidden) when Capability.next is not set as a notification capability, because MediaSessionConnector.QueueNavigator does not enable the next/previous actions then. This is fine for most apps but not for podverse, where the next/previous buttons should be replaced by forward/backward buttons.
Steps To Reproduce
Take out Capability.Next in notifications and try next/previous with a bluetooth headset on android
Code To Reproduce
like lovegaoshi/KotlinAudio@43a23de#diff-aac2898870a901482661b6a0bfd73dbbab38fc17fc1f8591a6fce7ab31f9c76a
Replicable on Example App?
yes.
Environment Info:
not relevant
How I can Help
I override onMediaButtonEvent for mediaSessionCompat.Callback (I think I wrote this part for the android auto PR?) to specifically handle skip next and previous events for podverse. unsure what the best practice is though.
lovegaoshi/KotlinAudio@43a23de#diff-9c7fc38508b88eca04e110589f9f3c473b526e10a0451c87796dc53f9a9f20f8
The text was updated successfully, but these errors were encountered: