Closed 13627491210 closed 10 months ago
after an embarrassing amount of time looking at this too, for android < 13 if the mediaitem is the last item in the queue, skipToNext wont show.
after an embarrassing amount of time looking at this too, for android < 13 if the mediaitem is the last item in the queue, skipToNext wont show.
Is this the default behavior?
In my case, I don't add all the tracks to the queue, I'm using the tp.load to play the track, because I get the audio url only when I choose a track.
my code:
await TrackPlayer.updateOptions({ icon: ImgAsset.logo, alwaysPauseOnInterruption: false, progressUpdateEventInterval: 1, android: { appKilledPlaybackBehavior: AppKilledPlaybackBehavior.ContinuePlayback, alwaysPauseOnInterruption: false, }, capabilities: [ Capability.Play, Capability.Pause, Capability.SkipToPrevious, Capability.SkipToNext, Capability.SeekTo, ], compactCapabilities: [ Capability.Play, Capability.Pause, Capability.SkipToPrevious, Capability.SkipToNext, Capability.SeekTo, ], notificationCapabilities: [ Capability.Play, Capability.Pause, Capability.SkipToPrevious, Capability.SkipToNext, Capability.SeekTo, ], });
my phone is OnePlus ace2Pro, android 14 。 and Huawei have same problem。