Hello FlutterFlow community,
I'm reaching out to the community for some help with an issue I'm facing in my FlutterFlow project. I'm working on a feature that allows users to select an image from either the camera or gallery, upload it to Firebase, and then close a bottom sheet based on the source of the image.
Here's what I've implemented so far:
I have two buttons in the bottom sheet, one for the camera and one for the gallery.
When a button is tapped, the corresponding image picker is launched.
Once an image is selected, I call a callback function that uploads the image to Firebase and updates the app state to close the bottom sheet.
However, I'm getting an error message that says "Cannot have multiple upload files in a same node" during the "Upload Data Action" when I try to upload the image.
I've attached a screenshot of the error message for reference.
I've searched for solutions online but haven't been able to find anything that addresses this specific issue. I'm hoping someone in the community might have some insights or suggestions on how to fix this error.
Any help would be greatly appreciated!
Thanks,