Giter VIP home page Giter VIP logo

Comments (16)

pbakondy avatar pbakondy commented on July 30, 2024 1

"limitation to 10 iOS only" - Apple supports speech recognition since iOS 10.
See: https://developer.apple.com/reference/speech?language=objc

from cordova-plugin-speechrecognition.

pbakondy avatar pbakondy commented on July 30, 2024

device? os version?
how can you tell the app is still listening?

from cordova-plugin-speechrecognition.

Truedison avatar Truedison commented on July 30, 2024

It displays a behaviour same as "not saying anything". Behaviour was After 30 mili/seconds of no activity then it pops an error message. after that happens it all goes okay.

from cordova-plugin-speechrecognition.

Truedison avatar Truedison commented on July 30, 2024

@mosca90 I think this is not related to your issue, Just want to ask if you have internet when you are testing this or have you done this

Requirements

XCode 8.0 (requires 10.12+ macOS Sierra or 10.11.5+ OS X El Capitan)
iOS 10
NSMicrophoneUsageDescription permission
NSSpeechRecognitionUsageDescription permission

from cordova-plugin-speechrecognition.

 avatar commented on July 30, 2024

@Truedison i'm under wifi with phone on airplane mode..

XCode - iOS latest version

from cordova-plugin-speechrecognition.

Truedison avatar Truedison commented on July 30, 2024

@mosca90 How about these 2 ?

NSMicrophoneUsageDescription permission
NSSpeechRecognitionUsageDescription permission

from cordova-plugin-speechrecognition.

 avatar commented on July 30, 2024

@Truedison I'm calling exactly like here: #17 (comment)

I got 2 popups window of permission request.

from cordova-plugin-speechrecognition.

Truedison avatar Truedison commented on July 30, 2024

@mosca90 Do you have something like this on your config.xml if youre running on ionic

from cordova-plugin-speechrecognition.

 avatar commented on July 30, 2024

@Truedison sorry, like what?

from cordova-plugin-speechrecognition.

Truedison avatar Truedison commented on July 30, 2024

@mosca90 I'm sorry, like this.

" <variable name="MICROPHONE_USAGE_DESCRIPTION" value="would like to use this" /> <variable name="SPEECH_RECOGNITION_USAGE_DESCRIPTION" value="would like to use this" />"

from cordova-plugin-speechrecognition.

 avatar commented on July 30, 2024

@Truedison no.
Added to config.xml but nothing change.. so sad.

from cordova-plugin-speechrecognition.

Truedison avatar Truedison commented on July 30, 2024

@mosca90 There's a right way to add it man. You dont have to add it manually in config.xml You have to uninstall the plugin and add again the plugin with those variables

from cordova-plugin-speechrecognition.

 avatar commented on July 30, 2024

cordova plugin add cordova-plugin-speechrecognition --variable MICROPHONE_USAGE_DESCRIPTION="microphone" --variable SPEECH_RECOGNITION_USAGE_DESCRIPTION="microphone" --save

Now in config.xml i have these lines:
<plugin name="cordova-plugin-speechrecognition" spec="~1.1.1"> <variable name="MICROPHONE_USAGE_DESCRIPTION" value="microphone" /> <variable name="SPEECH_RECOGNITION_USAGE_DESCRIPTION" value="microphone" /> </plugin>

Using this code to start recognition: #17 (comment)

iphone 5s with latest update.
Run under wi-fi with plane mode on.
Sim card with no service available in this phone.

When the recognition starts, near the wifi icon appear a search icon too, idk why.
When the icon stops to turn, the error appears: Error Domain=kAFAssistantErrorDomain Code=209

After 3 attempt, there is no icon and the error is Error Domain=kAFAssistantErrorDomain Code=1

Maybe siri has some problem without sim service?
Native recognition works well.

Thx @Truedison.

from cordova-plugin-speechrecognition.

Truedison avatar Truedison commented on July 30, 2024

@mosca90 Are you using this in Ionic ? I think they already added this in ionic-native maybe there's a new/better implementation there.

from cordova-plugin-speechrecognition.

 avatar commented on July 30, 2024

https://ionicframework.com/docs/v2/native/speechrecognition/

Btw, it would be nice in future to be able to remove the limitation to 10 iOS only, like Android which has various versions supported

from cordova-plugin-speechrecognition.

shubam-wittyparrot avatar shubam-wittyparrot commented on July 30, 2024

I am using in my iphone 8 and i am getting the same error code 209 can any1 please help me out.

from cordova-plugin-speechrecognition.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.