speech-recognition icon indicating copy to clipboard operation
speech-recognition copied to clipboard

bug: SpeechRecognition.stop() won't stop recording on android.

Open sfcheng opened this issue 8 months ago • 3 comments

Plugin version:

@capacitor-community/[email protected]

Platform(s):

Android 12

Current behavior:

By default, android will stop listening when there is no more speech input detected. However, when the app is run in a place with a lot of background noise, the recording process will never stop even if I call SpeechRecognition.stop(). I am not using the android popup.

Expected behavior:

Calling SpeechRecognition.stop() should stop the recording.

Steps to reproduce:

Start the record in a noisy place or while playing some background music.

sfcheng avatar Jun 22 '24 21:06 sfcheng