How do I work with Firebase Storage offline?

Asked

Viewed 156 times

0

I have been studying the functionalities of Storage (storage of media and files) and Firebase’s Realtime Database. In the case of Realtime DB, it is possible to enable data persistence while offline by setPersistenceEnabled(). Now I wanted to know how do I do something like this in Storage? I need to save and provide references and media after uploading even while offline.

Note: this is my first question in stackoverflow. In case the question structure is wrong give me a help to improve!

1 answer

0

Unfortunately, the Firebase Storage SDK does not yet offer this feature. But nothing prevents you from implementing your own solution to persist the files locally while the device is disconnected.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.