Comments (16)
"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.
device? os version?
how can you tell the app is still listening?
from cordova-plugin-speechrecognition.
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.
@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.
@Truedison i'm under wifi with phone on airplane mode..
XCode - iOS latest version
from cordova-plugin-speechrecognition.
@mosca90 How about these 2 ?
NSMicrophoneUsageDescription permission
NSSpeechRecognitionUsageDescription permission
from cordova-plugin-speechrecognition.
@Truedison I'm calling exactly like here: #17 (comment)
I got 2 popups window of permission request.
from cordova-plugin-speechrecognition.
@mosca90 Do you have something like this on your config.xml if youre running on ionic
from cordova-plugin-speechrecognition.
@Truedison sorry, like what?
from cordova-plugin-speechrecognition.
@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.
@Truedison no.
Added to config.xml but nothing change.. so sad.
from cordova-plugin-speechrecognition.
@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.
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.
@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.
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.
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)
- Not working on iOS 13.2 HOT 8
- How to voice to text?
- Wondering about the pricing using this plugin on Android? HOT 5
- How can I get the data and send it to the server? HOT 2
- support of speechContext
- Failed iOs
- Speech recognition doesn't work on iOS 13.3 HOT 1
- Pop up disable is not working HOT 1
- completeSilenceLength on Android HOT 2
- plugin does not work with ionic 5
- speech recognition service is not available on system on Android 11 Beta HOT 7
- I cannot use microphone with Airpod Pro on iOS HOT 1
- Invalid provider for the NgModule 'AppModule' - only instances of Provider and Type are allowed HOT 1
- cordova ios recognition not working HOT 1
- recognition not working with android 12 HOT 2
- Disable "beep" sound on start and stop of speech recognition
- requestPermission method is broken in iOS
- Is it free to use (google speech api and ios cloud?)
- Not work for android 13
- Api key required
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-speechrecognition.