react-native-audio-recorder-player
react-native-audio-recorder-player copied to clipboard
pauseRecorder not working in some cases
@hyochan pauseRecorder not working in some cases.
Version: 3.1.2
@hyochan Pause function is working fine when we click on it the first time, the issue happens when we go back to another screen after stopping and then come to the audio screen and start recording and pausing. At that time audio player throws an already paused message but it's still recording.
This will fix the issues:
const audioRecorderPlayer = useRef(new AudioRecorderPlayer()).current;
This will fix the issues:
const audioRecorderPlayer = useRef(new AudioRecorderPlayer()).current;
This help me when pause or stop playing not worked.
This will fix the issues:
const audioRecorderPlayer = useRef(new AudioRecorderPlayer()).current;
@lukebrandonfarrell Any idea what might be causing my issue? I also did the same thing with useRef
that you recommended here and I seem to be having the same issue
- #442
I fixed it in #452 and released in v3.5.1