You want this package to be awesome and we want to deliver on that. Import TrackPlayer from 'react-native-track-player' const start = async ( ) => start ( ) Core Team ✨ Example Setupįirst please take a look at the Getting Started guide, but a basic example of how to play a track: React-native-google-cast works pretty well and also supports custom receivers, but it has fewer player controls, it's harder to integrate and still uses the Cast SDK v2. It can be pretty useful for casting (such as Chromecast). React-native-music-controls is meant for apps using those audio modules, but it has a few problems: the audio isn't tied directly to the controls. Those can heavily affect the app stability and user experience.Īll audio modules (like react-native-sound) don't play in a separated service on Android, which should only be used for simple audio tracks in the foreground (such as sound effects, voice messages, etc.)
0 Comments
Leave a Reply. |