Open bezenson opened 2 years ago
It says that onEnd function is unnecessary: play(onEnd?: (success: boolean) => void): this
onEnd
play(onEnd?: (success: boolean) => void): this
But for iOS we should define it: yourSound.play(() => {});
yourSound.play(() => {});
Otherwise we getting RNSound.play must not be null error. Described in issue https://github.com/zmxv/react-native-sound/issues/746
RNSound.play must not be null
Same problem here
same problem
Got the error. Thanks for the solution.
It says that
onEnd
function is unnecessary:play(onEnd?: (success: boolean) => void): this
But for iOS we should define it:
yourSound.play(() => {});
Otherwise we getting
RNSound.play must not be null
error. Described in issue https://github.com/zmxv/react-native-sound/issues/746