-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 [firebase_storage] put file await never resolves #5106
Comments
Hi @andy-t-wang |
|
I think it has to do with using audio service as specified in this issue seems like a bug in firebase storage still but it was fixed for firestore. Is there any work around to this or eta when the storage library will be fixed? There is no error message the await just hangs however mine is running in the foreground when it hangs. |
Btw if anyone runs into this the current work around I'm doing is just not await the put file. Then having a recurring 5 second delay that trys to get the download URL to see if the file is done uploading. If it is then it returns the string back up or if it recurses more than 15 times so waits 75 seconds I just return an error |
HI , |
That did not work, I'm assuming it's because I cannot await the task |
Since this also has to do with audio_service then I'm going to close this as a duplicate of #4513 Having that open to track the issue should be enough. |
@ened Here's the problem. Right now when you have audio service running as well the await never finishes when you put a file into storage. The code just hangs there |
@andy-t-wang Thank you for the pointer. We will track the underlying issue in #4513. |
Bug report
Describe the bug
Await putfile will place the file in my firebase storage but the await will never resolve the code just gets stuck there and won't continue. Using firebase_storage 7.0.0
Steps to reproduce
Running this in debug mode on my physical device
This is my code a very simple implementation. When I access my dashboard I see the file gets put in there and can open it with no issues, however, my code will not resolve the await and the done will never be printed.
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
The text was updated successfully, but these errors were encountered: