I am currently making an app in which the user uploads an image and some data so that it can later be seen by the other users.
I am using Firebase in order to store this data. I have been able to upload the image to Firebase Storage via Firebase Storage Upload Files, but I have no idea how to generate an image URL for every file and then upload said URL to my Firestore Database.
I tried using the Firebase Storage get download URL flow function but even though the download URL is generated I have been unable to access it, store it in a variable to send it to my Database; even if I could, it is my understanding that this download URL is temporary, meaning that I have to find a way to generate a permanent URL.
It would be greatly appreciated if anyone could explain to me how to generate an URL each time the user uploads an image and then send said URL to my Database.
Could you please explain how you did get it right. I have been trying many times to upload files via Firebase Storage Upload Files node with no success.
in order to upload my files to Firebase Storage first I had to link my DB to AppGyver as in Google Firebase connector - Composer. It was quite the tedious process, but now that it’s done and I have my problem figured out, it works like a charm!
As for how I exactly uploaded the file to Storage, I came up with the following logic:
Store the output of Pick Files into a variable (takenPhoto) of type LIST OF ANY VALUES.
Use Firebase Storage upload files flow function. Input is takenPhoto variable.
You can ignore the rest, which is my logic for storing the image URL into a page variable of type web URL and then updating my data variable accordingly.
I’m sorry for answering this late. I’d love to help you if you need any more help, as I had this problem myself not too long ago.
I have since been able to solve the problem. It was surprisingly simple!
When you upload an image file to Firebase Storage via Firebase Storage upload files, you can then access the Database and if you click said file, you will be able to see a field called NAME, which includes a hyperlink for your image, as in:
Im still lost on how to do this? Where is the dowloadUrl on the Firebase Storage Upload Files Node?
And then where do you add the formula for retrieval?
Hey I am trying to retrieve the image URL from firebase storage to firestore database. As mentioned above I have understood the formula. But what would be the flow function after “Firebase storage upload files”? And where would this formula come into picture?