react-native-speech-to-text

0.0.8 • Public • Published

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)
       })

} 

/react-native-speech-to-text/

    Package Sidebar

    Install

    npm i react-native-speech-to-text

    Weekly Downloads

    14

    Version

    0.0.8

    License

    none

    Last publish

    Collaborators

    • anmary