flutter-unity-view-widget icon indicating copy to clipboard operation
flutter-unity-view-widget copied to clipboard

[iOS] A block main UI while using with speech_to_text library

Open dungbk1995 opened this issue 1 year ago • 1 comments

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. SpeechToText

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/juicycleff/flutter-unity-view-widget/assets/20292588/7d73ddae-8a07-4b19-bcf0-f1346ce19b56

Unity (please complete the following information):

  • OS: [iOS]
  • Version [22]

Smartphone (please complete the following information):

  • Device: [iPhone11]
  • OS: [iOS15.6]
  • Version [22]

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

dungbk1995 avatar Aug 05 '23 07:08 dungbk1995

https://github.com/juicycleff/flutter-unity-view-widget/assets/20292588/076ef8a2-f163-4325-907a-c96909971cae

dungbk1995 avatar Aug 05 '23 07:08 dungbk1995