Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSSpeechRecognitionUsageDescription didn't ask for the permission. #5

Open
puneetmahali1 opened this issue Dec 16, 2021 · 1 comment

Comments

@puneetmahali1
Copy link

Hi Pravin,

I have implemented the Speech framework in my Cordova App and it didn't ask the NSSpeechRecognitionUsageDescription permission on iOS real device also the speechRecognizer variable comes nil because of an optional:
@objc(startRecognition:) // Declare your function name. func startRecognition(command: CDVInvokedUrlCommand) { if !self.**speechRecognizer!**.isAvailable { self.publishSTTError(error: "Speech recognition service not available") return }

PS: I am using Xcode 13.2.

Could anyone can help me out for the above mentioned query?

Thanks in advance!

@puneetmahali1
Copy link
Author

@pravinkumarputta Could you please have a look of this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant