This project shows how to implement speech recognizer cordova plugin from Macdonst in Ionic 2. Just follow these simple steps.
-
Generate a new Ionic 2 project : ionic start yourProjectName --v2 -blank
-
Add Macdonst speech recognizer plugin : ionic plugin add https://github.com/macdonst/SpeechRecognitionPlugin
-
Just replace the home.ts and home.html files in your ionic project to the ones in this project.
-
Use ionic run android/ios to test it on device or use a simulator. You can see the console of whatever you speak.