[Help requested] Offline mode: select file to be uploaded later when connected
I created my own type of form input controls for a very customizable and dynamically created form. I would like to add a button to a row in a gallery, or any button in general that when selected has the capability to save/mark a file (in offline mode) to be uploaded when the device gets connection.
Allow user to select a file to upload
save a file to a local cache
some how mark or save location/path of file from device, and store the file path in a collection of sorts.
STEP 3: later... when Connection.connected, user can press a button to initiate...
retrieve file contents from local cache
retrieve file location from local cache and then retrieve file contents from device
file/contents are attached to something like a sharepoint list item
file/contents are uploaded with something like Flows to something like a sharepoint list item or sharepoint document library.
I am stuck on steps 2 and 3. I am not sure how to, or if it is even possible, to accomplish something like this.