doublesymmetry / react-native-track-player

A fully fledged audio module created for music apps. Provides audio playback, external media controls, background mode and more!
https://rntp.dev/
Apache License 2.0
3.18k stars 981 forks source link

Can you help me out to resolve this issue. @jasongrishkoff @dcvz #2232

Closed 0Swagger0 closed 6 months ago

0Swagger0 commented 6 months ago
          Can you help me out to resolve this issue. @jasongrishkoff @dcvz

to fix it you have to call this function in app.js for example, you have the entry point of your app and you are calling this function in entry point so don't do that, call the function in app.js

// App.js export function App(){ // call the function TrackPlayer.registerPlaybackService(() => require("./service"));

}