In this component in this row togglePlayback(playBackState)}> i have problem (******Argument of type 'PlaybackState | { state: undefined; }' is not assignable to parameter of type 'State'. Type '{ state: State.None | State.Ready | State.Playing | State.Paused | State.Stopped | State.Loading | State.Buffering | State.Ended; }' is not assignable to type 'State'.*******) I followed your video from the beginning but I can't solve this. Thank you
Yes Guys Many of you may be still facing issue I have spended 2 days and after that I came to know that we have to use PlaybackState.state === State.Playing not PlaybackState === State.Playing
In this component in this row togglePlayback(playBackState)}> i have problem (******Argument of type 'PlaybackState | { state: undefined; }' is not assignable to parameter of type 'State'.
Type '{ state: State.None | State.Ready | State.Playing | State.Paused | State.Stopped | State.Loading | State.Buffering | State.Ended; }' is not assignable to type 'State'.*******) I followed your video from the beginning but I can't solve this. Thank you
same issue
@@harshprakash6260 Use: npm install --save react-native-track-player@3.2
Bro did you solve that? Im having the same issue here
any solution found for this issue?
Yes Guys Many of you may be still facing issue I have spended 2 days and after that I came to know that we have to use PlaybackState.state === State.Playing not PlaybackState === State.Playing
Why don't you show results?
HelpFul