react-native-speech-to-text
v0.0.8
Published
React Native module that allows an React Native application to call native speech recognition APIs and to get the recognized text in return. This is a work in progress since it only works on Android. Although the work on iOS is almost finished.
Downloads
78
Readme
React Native Speech to Text
React Native module that allows an React Native application to call native speech recognition APIs and to get the recognized text in return. This is a work in progress since it only works on Android. Although the work on iOS is almost finished.
Installation
First step(Download):
Run npm i react-native-speech-to-text --save
Second step(Plugin Installation):
Automatic installation
react-native link react-native-speech-to-text
Getting started
import { STTandroid, STTios } from 'react-native-speech-to-text';
(Platform.OS === 'android') {
STTandroid.showGoogleInputDialog()
.then((result) => {
console.log(result)
})
.catch((error) => {
console.log(error)
})
}