flutter-unity-view-widget
flutter-unity-view-widget copied to clipboard
[iOS] A block main UI while using with speech_to_text library
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:
- Go to 'Simple Unity Demo'
- Click on 'Audio button' on the
textBox
- See that the
CircularProgressIndicator
is stop loading a little bit. Note: It doesn't happen atMenuList
screen since, we don't useUnityWidget
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
https://github.com/juicycleff/flutter-unity-view-widget/assets/20292588/076ef8a2-f163-4325-907a-c96909971cae