react-native-sfspeechrecognizer

iOS SFSpeechRecognizer bridge module for React Native


Keywords
react-native, react, speech-recognition, speech, SFSpeechRecognizer, react-component, react-native-component, transcription, utterance, iOS
License
MIT
Install
npm install react-native-sfspeechrecognizer@0.1.2

Documentation

React Native SFSpeechRecognizer

npm install react-native-sfspeechrecognizer

Set these auth keys in your Xcode project's info.plist:
NSMicrophoneUsageDescription
NSSpeechRecognitionUsageDescription

Microphone & Speech Recognition dont work on simulator so you'll need to use a physical device.

link native module to your project:
react-native link react-native-sfspeechrecognizer
or do it manually:
https://facebook.github.io/react-native/docs/linking-libraries-ios.html

README is WIP, please refer to demo project for implementation:
https://github.com/eralpkaraduman/react-native-sfspeechrecognizer-demo

Step 1: Requesting & Checking Permissions
PermissionsScreen.js

Step 2: Configuring, Initiating & Displaying Speech recognition results
RecognitionScreen.js