voice icon indicating copy to clipboard operation
voice copied to clipboard

Listening on background

Open YIvanov97 opened this issue 4 years ago • 3 comments
trafficstars

Hello! Is there someone who have a solution for that, the microphone to listen in background (in android)? I already solve it to listen in some kind of loop but I can't find a way to make it listen in background. :(

YIvanov97 avatar Feb 03 '21 19:02 YIvanov97

@YIvanov97 How did you put it in a loop? I am using componentDidMount() to first trigger my _startVoiceRecognition() and then, After 5 seconds it stops recognizing. I want to keep listening until I say something

panktibardolia119933 avatar May 11 '21 02:05 panktibardolia119933

@panktibardolia119933 You have to make a condition in when it stop listening to start again and on success to start again. But I'm not sure how to stop the sound

YIvanov97 avatar Jun 05 '21 15:06 YIvanov97

@YIvanov97 hey, were you able to implement this? can you share how?

pixelcaliber avatar Mar 02 '24 08:03 pixelcaliber