react-native-track-player: cannot invoke TrackPlayerModule.setupPlayer

i have this issue after adding and linking react-native-track-player to my project.

it is only showing in emulator not in console, github

anyone address face this issue??

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 19 (1 by maintainers)

Most upvoted comments

maybe you forget to registerPlaybackService on your index.js

//AppRegistry.registerComponent(...);

TrackPlayer.registerPlaybackService(() => require('service.js'));
// service.js
module.exports = async function() {
	// ...
}