Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Periodic error on IOS platform #69

Closed
Pavel-Durov opened this issue Mar 21, 2018 · 1 comment
Closed

Periodic error on IOS platform #69

Pavel-Durov opened this issue Mar 21, 2018 · 1 comment

Comments

@Pavel-Durov
Copy link

The plugin works, but from time to time I get error callback with the following error:

cordova error:

Error in Error callbackId: SpeechRecognition1097749174 : TypeError: null is not an object (evaluating 'this.observers.length = 0')
callbackFromNative — cordova.js:311

Error callback data

"Error Domain=kAFAssistantErrorDomain Code=203 "Retry" UserInfo={NSLocalizedDescription=Retry, NSUnderlyingError=0x1c06477a0 {Error Domain=SiriSpeechErrorDomain Code=1 "(null)"}}"

Or

"Error Domain=kAFAssistantErrorDomain Code=209 "(null)"" = $1

That happens only on IOS devices for me, Android seems to be working just fine.

It seems like the plugin enters a faulted state, If I leave it idle for about 2 minutes it gets back to work....

IOS Version: 11.2.6
cordova: 4.5.4
ionic: 3.6.0
cordova-plugin-speechrecognition: 1.2.0

@Pavel-Durov
Copy link
Author

duplicate of macdonst/SpeechRecognitionPlugin#88

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

No branches or pull requests

1 participant