Skip to content

n3xrodrigo/react-native-track-player-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-track-player-web

react-native-web partial implementation of react-native-track-player.

Note that this is a partial implementation and it's not production ready.

Usage

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

Targeting the Web

Add the following to your webpack configuration:

module.exports = {
  ..., /* the existing configuration */

  resolve: {
    alias: {
      'react-native-track-player': 'react-native-track-player-web'
    }
  }
};