bluedesign / speech-recognition-feat-siri

Cordova Plugin Speech Recognition feat. Siri API
29 stars 9 forks source link

Is there a way to initial this plugin via "Hey Siri"? #13

Open adamgins opened 7 years ago

adamgins commented 7 years ago

Thanks for this package. This plugin is working well for me. The user has to click a button, Siri captures the voice, I get the text.. great!!!

Any ideas on how I'd get a Cordova app to grab the content of a "Hey Siri..." command. I've started looking at https://developer.apple.com/library/content/documentation/Intents/Conceptual/SiriIntegrationGuide/CreatingtheIntentsExtension.html but given this is Cordova, I am not sure what the best approach is.. as I don't normally modify Cordova project (which is generated by MeteorJS)?

Any help appreciated?

bluedesign commented 7 years ago

hi, adamgins.

This plugin adopts Speech Framework (SFSpeechRecognizer). It is SiriKit's Intents.framework that links commands from Siri to applications. I think the approach differs between Speech Framework and Intents.framework. I may not understand your question correctly. I'm sorry.

adamgins commented 7 years ago

@bluedesign thanks. Yes, any ideas on how we could use Intents.framework with a Cordova app?

ustincameron commented 7 years ago

+1 Would love a Hey Siri Cordova/Ionic plugin. <3

mgkaradag commented 6 years ago

@adamgins Hey Adam, I am now just in the same need that you asked almost a year ago. Have you find any solution for automatically initialising speech recognition just after for example when a user says "Hey Cordova App"?