Speech recognition randomly stops listening

Hi,


We have been using in out app speech recognition as well as speech synthesizer. The app was in a stable state, responding to all requests as expected until a month ago.

The project hasn't been not worked on and it's at the same commit point. The problem is that speechRecognizer task, even though it gets created, stops reacting at random points in the app:


let task = speechRecognizer?.recognitionTask(with: recognitionRequest, delegate: self)

is always returning a valid SFSpeechRecognitionTask object but not reacting further.


The question would be if the Speech module has changed in any way in the previous 2 months or if this could be related in anyway to the Apple servers (like the number of requests limitation etc.).


ps: we also tested for bad internet conection.


Thank you in advance,

Best Regards,

Cynthia