There were at least 2 bugs that occured in my project using react-native-web:
Adding new songs to the end would instead insert them at index 1. This is because in an earlier function you would set an undefined parameter to -1, after evaluating if this value is set you forgot to also check for -1
The next song would not play if the repeat mode is set to Queue because it would never get to the logic if it should play the next song.
There were at least 2 bugs that occured in my project using react-native-web:
Adding new songs to the end would instead insert them at index 1. This is because in an earlier function you would set an undefined parameter to -1, after evaluating if this value is set you forgot to also check for -1
The next song would not play if the repeat mode is set to Queue because it would never get to the logic if it should play the next song.
This PR should fix the issues. :)