Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when user stay in silent dont possible refresh the widgets #524

Open
desenvolvedor-apanheidoexcel opened this issue Jun 15, 2024 · 0 comments

Comments

@desenvolvedor-apanheidoexcel

When the user remains silent, it generates a SpeechRecognitionError (onError listening) which destroys the widget tree and then it is not possible to update the view after the error.

I created a button with a microphone icon to start listening. When you click the button, the icon changes to indicating listening... When you finish listening with setState, the icon returns to start listening. But if the user doesn't say anything, a SpeechRecognitionError is generated which no longer calls setState because it destroys the widget tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant