-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
Describe the Bug
On Android, the TrackPlayer.load(...)
call will trigger a PlaybackActiveTrackChanged
, however if there was a previous item playing, lastTrack
on the emitted event is always undefined
. On iOS lastTrack
is emitted as expected in this scenario.
Steps To Reproduce
Use load
to add tracks and observe the PlaybackActiveTrackChanged
events lastTrack
property.
EDIT: might only happen when transitioning between downloaded and undownloaded tracks.
Code To Reproduce
N/A
Replicable on Example App?
I'll be verifying this over the next few days.
Environment Info:
Google Pixel 6a
How I can Help
I intend to fix this, but I want it to be tracked in git.