Open
Description
Step 0: Are you in the right place?
- For issues or feature requests related to the code in this repository
file a Github issue.- If this is a feature request please use the Feature Request template.
- For general technical questions, post a question on StackOverflow
with thefirebase
tag. - For general (non-iOS) Firebase discussion, use the firebase-talk
google group. - For backend issues, console issues, and other non-SDK help that does not fall under one
of the above categories, reach out to
Firebase Support. - Once you've read this section and determined that your issue is appropriate for
this repository, please delete this section.
[REQUIRED] Step 1: Describe your environment
- Xcode version: 11.0
- Firebase SDK version: Latest
- Firebase Component: Storage
- Component version: Latest
- Installation method: CocoaPods
[REQUIRED] Step 2: Describe the problem
When running a putData
method in an iPhone without any internet connection it never calls the completion callback.
When monitoring the progress/status of an upload task it never gets called too, i.e. we as developers will get stuck and won't get any response from the Firebase SDK when trying to upload a file without internet connection. We can't just show a connection error for our users because we don't get notified when it does happen, and the "completion" that should be called even when there's an error doesn't get called.
Steps to reproduce:
Just try to upload a file without any internet connection.
Relevant Code:
No need.