Closed sinano1107 closed 3 years ago
Can you give me details on the problem you're seeing? Is it something that I will definitely see if I try it or is it a subtle problem?
@sowens-csd Thank you. Speech recognition will not start. In debug mode, a tab appears asking for permission to use voice recognition by chrome, but it does not appear in release mode.
Thanks for the details. I'll try it out. The web support is new so there could still be problems.
@sowens-csd Did you encounter the same problem?
Yes, I'm seeing the same result. It seems that there is a redefinition of the SpeechRecognition class that's shadowing mine. Looks like I'm going to have to change to use the Flutter definition. I'll post a patch when it's ready.
I just pushed a change that seems to resolve it, but I haven't tested it very extensively. If you have a chance could you try the latest version in the repo?
@sowens-csd Thank you
# speech_to_text: ^4.0.0-nullsafety
speech_to_text:
git:
url: https://github.com/csdcorp/speech_to_text.git
ref: null-safety
path: speech_to_text
I tested it by editing Pubspec.yaml like this, but it did not work in either debug or release mode.
Maybe my testing method is wrong?
Hi I tested with your example "speech_main.dart" in web in release version, and when I push the "Initialize" button this give me this error message: "speech_not_suported - true", but when I run it in debug mode this works great. how can I solve this? Thanks in advance.
Did you try it against the repo version that I posted?
Did you try it against the repo version that I posted?
Yes, I did it like this:
speech_to_text: git: url: https://github.com/csdcorp/speech_to_text.git ref: null-safety path: speech_to_text
But in this way it does not work in debug mode or in release mode.
Thanks for letting me know. I'll go back to that version and see what I did wrong.
@sowens-csd Do you think you can solve it?
I've recreated the problem but don't yet have a solution. It worked when I last checked it and now doesn't work at all. Hope to have more information soon.
resolved, please try again?
resolved, please try again?
Many thanks. It works great.
This is now released as 4.1.1-nullsafety
Hi Thanks for the great package. version is using 4.1.0-nullsafety
It works fine with
flutter run -d chrome
, but this package does not seem to work withflutter run -release -d chrome
.Please let me know how to solve this problem. Please.
main.dart