kadiks / react-native-itunes

iTunes module for React Native
MIT License
62 stars 39 forks source link

Calling getCurrentTrack when no track is playing throws error #20

Open davidskaarup opened 6 years ago

davidskaarup commented 6 years ago
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.

n1ru4l commented 5 years ago

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