react-native-web
partial implementation of react-native-track-player.
Note that this is a partial implementation and it's not production ready.
This only works with react-native-track-player
v2, so until the official release:
yarn add react-native-track-player@next react-native-track-player-web
Add the following to your webpack configuration:
module.exports = {
..., /* the existing configuration */
resolve: {
alias: {
'react-native-track-player': 'react-native-track-player-web'
}
}
};