csdcorp / speech_to_text

A Flutter plugin that exposes device specific text to speech recognition capability.
BSD 3-Clause "New" or "Revised" License
351 stars 218 forks source link

[ios] There is a block UI when using with UnityWidget #419

Closed dungbk1995 closed 6 months ago

dungbk1995 commented 9 months ago

Describe the bug There is a gap stop UI when starting listening (speech_to_text start listening/stopping). It seems like there is a block main thread here. flutter_unity_widget 2022.2.0

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Simple Unity Demo'
  2. Click on 'Audio button' on the textBox
  3. See that the CircularProgressIndicator is stop loading a little bit. Note: It doesn't happen at MenuList screen since, we don't use UnityWidget here.

Expected behavior The block UI will be no longer exist.

Screenshots https://github.com/csdcorp/speech_to_text/assets/20292588/225aaffb-58ac-4496-85a4-c180a2458331

Unity (please complete the following information):

Smartphone (please complete the following information):

Additional context Source code here: https://github.com/dungbk1995/flutter-unity-view-widget/tree/master/example

dungbk1995 commented 9 months ago

https://github.com/csdcorp/speech_to_text/assets/20292588/225aaffb-58ac-4496-85a4-c180a2458331

sowens-csd commented 9 months ago

There was a similar report in issue #374 that I did extensive troubleshooting on a while ago. Have a look at that thread.

dungbk1995 commented 9 months ago

@sowens-csd Thank you and so sorry for late replying, This is only happened on IOs android is working fine!

I will checking #374 and write other simple testing! I'll update here later...

sowens-csd commented 9 months ago

Any update on this?