+ 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.
10 Respuestas
+ 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.
+ 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.
+ 3
Gordon thank you very much
+ 2
Coder
Implemented the 3 functions read, write and listen, to easily manage the database