React Native module that allows an React Native application to call native speech recognition APIs and to get the recognized text in return.
Run npm i react-native-speech-to-text --save
react-native link react-native-speech-to-text
import { STTandroid, STTios } from 'react-native-speech-to-text';
(Platform.OS === 'android') {
STTandroid.showGoogleInputDialog()
.then((result) => {
console.log(result)
})
.catch((error) => {
console.log(error)
})
}