Skip to content

Allow to save files without using byte data #2036

Description

@ekuleshov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-candidateThis issue might result in a feature to be implemented

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions