skip to Main Content

Issue with onStopRecord Function in React Native Audio Recorder Player library

// Import the required library import AudioRecorderPlayer from "react-native-audio-recorder-player"; // Function to stop recording (issue here) const onStopRecord = React.useCallback(async () => { try { // Issue occurs within this function const result = await audioRecorderPlayer.stopRecorder(); audioRecorderPlayer.removeRecordBackListener(); setRecordSecs(0); console.log(result); console.log(result,…

VIEW QUESTION
Back To Top
Search