This is a speech recognition example using react native windows framework and native modules.
- Create the default react native windows project like in here
- Create a file in the C++ project which will contain the speech recognition code like in here
- Link the C++ file in the C++ project like in here
- Create the JS file which will contain the C++ methods and properties in react native like in here
- Link the JS file in the react native project like in here
- Create a simple test to see the result like in here
Create the project yourself with this OR just run the "npm install" command in the RNW directory
- When you create your react native project make sure you don't have any spaces in the absolute path to the project
- Make sure you have Settings -> Privacy -> Speech -> Online speech recognition ON
- Make sure you have C++ project -> Package.appxmanifest -> Capabilities -> Microphone ON
- If you get an error or warning when installing the last react native use the "--version 0.68.2" argument and value (or an older version depending on how much time has passed from this project's creation)