cordova-plugin-speechrecognition icon indicating copy to clipboard operation
cordova-plugin-speechrecognition copied to clipboard

interaction between the plugin and annyang

Open nirsharony opened this issue 7 years ago • 1 comments

Hello,

I understand that the cordova-plugin-speechrecognition library uses the Google Speech API. I was able to to get this plugin to interact with the device's microphone (Android 6.0.1). Once the interaction was done, I was able to successfully get voice input into another framework called annyang (before adding the plugin, no voice input was getting into annyang).

I have two questions

  • Does this mean that the actual voice recognition is not done the Google Voice API? I never invoked any API calls on the SpeechRecognition object (like startListening). It looks like this setup simply connects the microphone with the annyang library which actually performs the voice recognition. Is this a known issue?

  • I was never asked by the device for permission to access the microphone. It simply worked. Does this sound right? I thought that simply by accessing the microphone for the first time, the user will be prompted to provide access to the app.

Thanks in advance, Nir

nirsharony avatar Nov 14 '17 15:11 nirsharony

Did you ever get an answer to this magic?

I'm trying to do the same thing.. however without the annoying Google UI popping up.

bknill avatar Aug 02 '18 01:08 bknill