Open andrii-yar opened 2 weeks ago
Same happens to me on my iPhone 15 if I unmount the component while an audio is being played. It seems like there is some sort of issue with the cleanup of the callbacks.
For now I've been able to avoid this issue by stopping the audio manually when the component gets unmounted.
useEffect(() => {
const stop = ref.current?.stopPlayer
return () => {
stop?.().catch(console.error)
}
}, [])
Platform: MacOS latest I use IOS simulator with Expo
Infinity log " Sending
onCurrentDuration
with no listeners registered", it starts logging it even if I commented out all the library code how can I turn it off?