Open yelnar opened 3 years ago
:beetle: Sound is not playing in background
:beetle: I am playing beep sound every second.
:beetle:
export const beep = new Sound( 'beep.mp3', Sound.MAIN_BUNDLE, (error: string) => { if (error) { console.log('failed to load the sound', error); return; } }, ); ... React.useEffect(() => { const interval = setInterval(() => { beep.stop(() => { beep.play(); }); }, 1000); return () => { clearInterval(interval); }; }, []); ...
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?
:beetle: Sound is not playing in background
:beetle: I am playing beep sound every second.
:beetle:
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?