generated from capacitor-community/.github
-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
Description
When my code runs I first remove any listeners if there are any
SpeechRecognition.removeAllListeners()
then I add
SpeechRecognition.addListener("result", (data) => {
if (data.matches && data.matches.length > 0) {
this.transcript = data.matches[0];
}
})
Then i start recording the user speak
await SpeechRecognition.start({
language: 'en-US',
partialResults: false, // ✅ disable partial results
popup: false,
})
When my application tries to stop the litening by running the below code, the application gets stuck on this line and no code runs after it.
const result = await SpeechRecognition.stop()
There is definately a bug in your software because I have found one more which I also submitted to you. But you wont fix it lol.
reervlftmd, vietpham94 and KenJoelTL