Skip to content

Implement a better feature in music player to change track. #39

@sobhanbera

Description

@sobhanbera

Updated feature

Currently, we are scrolling to the next index of the flat list to trigger the "playback-track-changed" event of react-native-track-player and then change the song according to that. Instead of this approach we could directly play a song after detecting which song index was ended lastly and according to that play the next song and find the song index in the flat list variable and scroll to that particular index.

This approach will help us to play the track/song in some cases where the device is locked or the application is running in the background and not in front of the user on the screen itself.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcriticalsomething critical. this tag will always be with another tagdocumentationImprovements or additions to documentationenhancementNew feature or requestfeature-implementationImplement a new featurefeature-pendingFeature implementation is pending for much timefeature-updateUpdating an existing feature.feature-urgentUrgently needed feature implementationtweakSimple and small code change. similar to good-first-issue

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions