I have the following situation.
I am allowing users to upload multiple files. The array of uploaded images is stored inside a page variable called : uploadedImages List <Uploaded File (Bytes)>
Just to let you know, I am only storing these images as "Local Upload <widget state>" and have not uploaded them yet to Firebase.
Now, I want to store this data to Firebase, but it seems that the only options I have to store the file data is via image URL (which I assume needs to be extracted from the page variable.
I have created a Firebase collection field called "images" of type "Image Path" (List).
Now when I try to save the uploadedImages variable, to the Image Path list, I am unable to do it.
I assume that is because database expects Image Path and I am not sure I to generate a list of image paths from my uploaded file list.
Can someone let me know whats the best way to do this?
Thanks