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
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.
The text was updated successfully, but these errors were encountered:
@puckey I'm going to fix this soon. But before I do, I just wanted to verify that you agreethat Android should behave like iOS (load should always emit a lastTrack/lastPosition if it exists).
Describe the Bug
On Android, the
TrackPlayer.load(...)
call will trigger aPlaybackActiveTrackChanged
, however if there was a previous item playing,lastTrack
on the emitted event is alwaysundefined
. On iOSlastTrack
is emitted as expected in this scenario.Steps To Reproduce
Use
load
to add tracks and observe thePlaybackActiveTrackChanged
eventslastTrack
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.
The text was updated successfully, but these errors were encountered: