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

Web Support Issue #250

Closed
imcoffeefreak opened this issue Aug 3, 2021 · 4 comments
Closed

Web Support Issue #250

imcoffeefreak opened this issue Aug 3, 2021 · 4 comments
Labels
duplicate This issue or pull request already exists

Comments

@imcoffeefreak
Copy link

The following error is shown inside when the result is received.

errors.dart:187 Uncaught Error: Expected a value of type 'SpeechRecognitionEvent$', but got one of type 'Event$'
at Object.throw_ [as throw] (errors.dart:236)
at Object.castError (errors.dart:84)
at Object.cast [as as] (operations.dart:442)
at Function.as_C [as as] (classes.dart:635)
at Object._argumentErrors (operations.dart:197)
at Object._checkAndCall (operations.dart:318)
at Object.dcall (operations.dart:329)
at SpeechRecognition. (html_dart2js.dart:37283)

@sowens-csd sowens-csd added the duplicate This issue or pull request already exists label Aug 3, 2021
@sowens-csd
Copy link
Contributor

Duplicate of #242

@sowens-csd sowens-csd marked this as a duplicate of #242 Aug 3, 2021
@sowens-csd sowens-csd reopened this Aug 3, 2021
@sowens-csd
Copy link
Contributor

I just re-read this and it might not be a duplicate. What version of Flutter and the plugin are you using and which browser / OS are you seeing this on?

@imcoffeefreak
Copy link
Author

@sowens-csd

Flutter version : 2.0.5
speech_to_text: 4.2.2
OS: Windows
Browser: Chrome

@imcoffeefreak
Copy link
Author

@sowens-csd

I think this can be closed. this issue only happens in localhost. Works fine in production

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants