react-native-itunes icon indicating copy to clipboard operation
react-native-itunes copied to clipboard

Calling getCurrentTrack when no track is playing throws error

Open davidskaarup opened this issue 6 years ago • 1 comments

screen shot 2018-10-19 at 10 24 50

Is this expected behavior? I am trying to make a controller component, and the only way I have found to update the current track position is to continuously call getCurrentTrack to get currentPlayTime. But I can't find any way to check if a track is playing.

davidskaarup avatar Oct 19 '18 08:10 davidskaarup

My pull request addresses this issue: https://github.com/kadiks/react-native-itunes/pull/15

n1ru4l avatar Nov 19 '18 15:11 n1ru4l