iOS not able to Loop, setNumberOfLoops not working.
:beetle: What have you tried?
:beetle: Please post your code:
sound = new Sound('order_beep.mp3', Sound.MAIN_BUNDLE, (error) => {
if (error) {
console.log('error', error);
return;
}
// Play the sound with an onEnd callback
sound.setNumberOfLoops(-1);
sound.play();
});
iOS not able to Loop, setNumberOfLoops not working.
:beetle: What have you tried?
:beetle: Please post your code:
:bulb: Possible solution
Is your issue with...
Are you using...
react-native run-android
)Which versions are you using?
Does the problem occur on...
If your problem is happening on a device, which device?