Open masiroyuki opened 1 year ago
Describe the bug ANR may occur when accessing applications that provide network folders
To Reproduce
install CIFS Documents Provider to use SMB
Connect to SMB server with CIFS Documents Provider
Open the demo application and get permission to access uri
Turn off wifi (but leave LTE on)
Execute canRead or exists
canRead
exists
UI freezes and ANR occurs
Expected behavior By separating threads in a coroutine Prevents the UI from freezing
Screenshots
https://github.com/alexrintt/shared-storage/assets/131235107/fd7ab062-4306-4169-8c76-036ac4575582
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Describe the bug ANR may occur when accessing applications that provide network folders
To Reproduce
install CIFS Documents Provider to use SMB
Connect to SMB server with CIFS Documents Provider
Open the demo application and get permission to access uri
Turn off wifi (but leave LTE on)
Execute
canRead
orexists
UI freezes and ANR occurs
Expected behavior By separating threads in a coroutine Prevents the UI from freezing
Screenshots
https://github.com/alexrintt/shared-storage/assets/131235107/fd7ab062-4306-4169-8c76-036ac4575582
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
DemoApp