Downloading files
The Cloud Storage administrates file saving and retrieving the files instantly and efficiently. By default, Cloud Storage requires a Firebase authentication to download files. We need to change the rules to make the download public. The primary step in downloading a file is creating a download reference.
Firebase offers FirebaseUI to download process. We have already seen that Firebase Authentication FirebaseUI is very helpful to build a common UI pattern in no time, and it is easy to customize; moreover, it is from the Firebase inhouse team, so we have less to worry, and we can start plugging the FirebaseUI library.
After creating a reference, developers can download the file using getBytes(), getStream(), and also by ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access