Performance and best practice - Store file as object or create a copy and store it temporarily on the device and save URI?


#1

I am creating an app.

Scenario: A user selects a file on an iOS or Android device. The form input will be an HTML <input>. Afterwards I can store the file object as a blob in the storage, or I can use the file plugin to create a copy of the file and store it on the device temporarily and save the filepath to storage. There can be multiple files.

The user can select a file today, and not send it until tomorrow or next week. In this case what is the best option to optimize performance, and also best practice?