Open bawhari opened 5 years ago
same here!
the reason was NSMicrophoneUsageDescription missing in info.plist
could you save the recording to local storage @HananeAlSamrout using this library ?
@pdSatyam You could simply copy the file with react-native-fs to another place. Like so: RNFS.copyFile(path, newPath)
For the some devices app is crashing
Adding
ext {
...
androidXAnnotation = "1.1.0"
androidXBrowser = "1.0.0"
...
}
to buildscript { } block in android/build.gradle
worked for me.
Sdk version : 29 RN version: 0.63.4
Does anyone know how to playback the recorded audio in android?
I call
RNVoiceRecorder.Record({
onDone: (path) => {
console.log(path);
setAudioPath(path)
},
onCancel: () => {
console.log("cancelled");
},
});
which launches the recorder and starts recording. When I click pause, and then click on play, nothing happens. The play button seems to work in emulator, though.
The project builds well, but when it crashes to recording...why?