Currently the FilePicker.saveFile(..) API requires passing the bytes parameter containing fill file data to save. For large files (200..400mb video files aren't uncommon) it puts a lot of pressure to device memory.
It would be great if the .saveFile(..) offered alternative ways to provide the file data: stream, a file path (the temp path may already be used by the platform code) or maybe XFile. Also see share_plus and file_saver plugins.
Currently the
FilePicker.saveFile(..)API requires passing thebytesparameter containing fill file data to save. For large files (200..400mb video files aren't uncommon) it puts a lot of pressure to device memory.It would be great if the
.saveFile(..)offered alternative ways to provide the file data: stream, a file path (the temp path may already be used by the platform code) or maybe XFile. Also seeshare_plusandfile_saverplugins.