Open ugochirico opened 3 weeks ago
Yea same, I'm unable to detect anything. Found any solutions to this?
Not yet. I'm blocked on this point
have you tried using other plugins? or should we natively code it?
I have a native iOS code and it works. I'm now moving my app to flutter but this package has that problem
could you share the nativer code
I tried it with pauseFor
attribute and it worked for me, It stops after 3 seconds if I didn't utter anything. I tested it with Iphone 11 with iOS 17.4.1.
_speech.listen(pauseFor: Duration(seconds: 3), onResult: (result) {
FFAppState().update(() {
FFAppState().sttWords = result.recognizedWords;
});
});
On iOS 12 Pro, with iOS 16.5, onResult is never called. This is my code:
this is the log:
it continues until I call _speech.stop();