Problem with speech-recognition endless spinning wheel

Hi,

I’m using example code on iOS 11.1.1

testOn(): void {
    this.speechRecognition.startListening({language:'en-EN'})
      .subscribe(
        (matches: Array<string>) => console.log(matches),
        (onerror) => console.log('error:', onerror)
      )
    
  }
 testOff(): void {
    this.speechRecognition.stopListening().then(() => console.log('stopped'));
  }

Recognition works perfectly, start, stop, and getting matches, but if click testOn() and testOff() and you do not say anything you getting this (normal) API error:

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

Ok, this is as excepted, but when this error occurs something in background it seems to be running. because the iOS top screen spinning wheel appear and never quits. In fact the only way for wheel disappear is by restarting the terminal…

ios_top_spinning_wheel

Thanks!

Ok, I think this could be a iOS 11 issue:

if there are news I will update this thread