+ 3

How to get files from firebase storage to the web application?

I am making an application uploading files to the firebase storage using js but I want my files to appear atomatically on the browser when upload them to the firebase storage.

31st Aug 2019, 12:21 PM
Hafsa Mohamed
Hafsa Mohamed - avatar
10 Réponses
+ 6
if you want them to appear "automatically", You need to use realtime database, like this : https://code.sololearn.com/Wp7ioJa1Pule/?ref=app use the on method of a db ref. (line 21) the first parameter can be "value", the second parameter is a callback function, where the parameter of the callback will then be an iterable of the data. see line 21 to 27 in js tab.
31st Aug 2019, 3:08 PM
Gordon
Gordon - avatar
+ 5
Are there any people with Firebase experience who can help Hafsa Hussein Mohammed with this question? Even if you just know someone who can help, please mention that person in this thread. I would need to review the online documentation to figure this out and may not have time for a while to get to this. Hopefully, someone else can assist.
31st Aug 2019, 2:24 PM
David Carroll
David Carroll - avatar
1st Sep 2019, 3:08 PM
Martin Möhle
Martin Möhle - avatar
+ 3
Gordon thank you very much
2nd Sep 2019, 10:58 AM
Hafsa Mohamed
Hafsa Mohamed - avatar
31st Aug 2019, 12:38 PM
Hafsa Mohamed
Hafsa Mohamed - avatar
+ 2
Coder Implemented the 3 functions read, write and listen, to easily manage the database
1st Sep 2019, 3:44 PM
Martin Möhle
Martin Möhle - avatar