file_picker_writable icon indicating copy to clipboard operation
file_picker_writable copied to clipboard

Blocks main thread on potentially slow file reads

Open amake opened this issue 1 year ago • 1 comments

Picking a file potentially means downloading it from the internet in the case of e.g. an iCloud Drive remote file. This can be slow when the file is large or the network is slow. Unfortunately this plugin processes everything on the UI thread, so this hangs all of Flutter as well.

(Tested on iOS)

amake avatar Aug 26 '24 05:08 amake

Android is already using coroutines so it doesn't have this problem.

amake avatar Aug 27 '24 12:08 amake