Replies: 2 comments 6 replies
-
Interesting. "It seems" -> exactly what tests have you run that show expectation vs result? Do you have an App.js that demonstrates the difference between expectation and reality in a self-contained way? That would help make things clear Is this actually supported in the underlying SDKs? Specifically I mean starting an upload while network doesn't exist? Most of the docs I read say things will continue across network issues or even activity restarts (e.g. https://firebase.google.com/docs/storage/android/upload-files#handle_activity_lifecycle_changes - though I'm not sure we reattach listeners correctly here...) and maybe (if we implemented it here, unsure) across process restarts. But I don't see an indication of whether the SDK supports starting an upload while offline. You can check that with a quick throwaway off their quickstart https://github.com/firebase/quickstart-android/tree/master/storage (there are similar quickstarts for ios) So - a couple things, we need to see exactly what functionality you're trying to make work, and we must know if the underlying SDKs support it before it is actionable here. If you can provide those things, we can move forward I think |
Beta Was this translation helpful? Give feedback.
-
Hi guys !
I need to handle the case where the user tries to upload a file in offline mode. It seems that Firebase Storage doesn't queue the upload task on local cache and persist it once back online (as Firestore does). Is there a workaround to handle that ?
Beta Was this translation helpful? Give feedback.
All reactions