Replies: 2 comments 1 reply
-
I don't personally have a hand in that package, but in case it helps, here's how I implemented speech recognition in iOS (not structured as a plugin; just directly calling the APIs) with NativeScript imperative APIs (so it'd work on any flavour): https://github.com/shirakaba/nativescript-grimoire/tree/master/speech%20recognition. All the speech recognition logic is in the NOTE: on iOS, you'll need to add these four lines to your app's Info.plist file, whether with my code or with Be sure to rebuild the app to make sure that the Info.plist file gets copied into the build. I can't help with the Android side, I'm afraid! Though maybe similarly you need to set up permissions. |
Beta Was this translation helpful? Give feedback.
-
Alright, got it running. Needed to set the aforementioned permissions for both Android and iOS. After that, it kept not working, because the stopListening method of the plugin I used cancled the recognizer, so there couldn't be any results. Wow. |
Beta Was this translation helpful? Give feedback.
-
Hey guys, I'm developing an app for illiterates. Because the web API is not widely supported, I decided to do a native app and stumbled over NativeScript (+ Vue) with this plugin: NativeScript Speech Recognition.
I tested it on both iOS and on Android, but on iOS it just crashed and on Android it says the API is not available. The plugin maintainer hasn't answered issues for years, so I want to try here. Are you guys still using that plugin and it works (so it's me?) or is there another way to get the speech recognition working?
Thanks in advance!
My Home.vue:
Beta Was this translation helpful? Give feedback.
All reactions