Requirements: Allow the user to select the same button to upload an image at a time to firebase (unlimited number of images). It needs to be able to access the camera and gallery (so I can't use the multi-image option).
Current Chain: on the button click, I have an upload media to firebase action (then I save it locally to display it - but the display is not a concern).
Problem: On a separate page, I pull the images from firebase. The images display when pulled from firebase for a while (until the user logs out or something of the like/ when local cache is cleared?). I don't know the exact trigger but when they go back to where the data is being pulled from the database -- it's just a blank white image? The image files return an error (404 when I paste the URL in a browser) instead of the actual image.
Potential Reason: The single file uploader button uses the same Name so there might be some issues there.
Any ideas on this or custom code ideas? I tried looking for packages but the ones I saw only allow multi-uploading on first click, so it would overwrite the existing chain.
Thank you for reading, please let me know if I'm lacking any content that will help for context c: