I'm playing sound using react-native-sound
and is playing on iOS 12 device but when I check in iOS 13 device is not playing.
here is my code
this.soundPlayer = new Sound(require('../assets/fly.mp3'), '', (error) => {
console.log(error)
if (error) {
console.log('failed to load the sound', error);
return;
}
this.soundPlayer.play()
})