react-native-sfspeechrecognizer
v0.1.2
Published
iOS SFSpeechRecognizer bridge module for React Native
Downloads
3
Maintainers
Readme
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