Closed Hmida71 closed 1 week ago
I have a PR for fixing some Windows Storage bugs here: https://github.com/firebase/flutterfire/pull/12723
It ought to fix your issues.
I'm Facing this same exact issue 😭
It's not only in storage; I'm also facing the same issue when calling a simple get function from the cloud_firestore library, like this:
FirebaseFirestore.instance.collection('printer_properties').doc(machineName).get();
However, when I tested it on a different PC, it ran without any problems. I'm wondering if this could be related to the PC specs, or if there's something in the Windows settings that needs to be enabled.
Is there an existing issue for this?
Which plugins are affected?
Storage
Which platforms are affected?
Windows
Description
ERORR : Service protocol connection closed. [ +2 ms] Lost connection to device. [ +2 ms] DevFS: Deleting filesystem on the device (file:///C:/Users/hmida/AppData/Local/Temp/elguide_logiciel68943f4b/elguide_logiciel/) [ +266 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed
[ +4 ms] "flutter run" took 37,777ms. [ +235 ms] ensureAnalyticsSent: 230ms [ +1 ms] Running 1 shutdown hook [ +15 ms] Shutdown hooks complete [ ] exiting with code 0
Code :
no print app closed directly !!
Reproducing the issue
Lost connection to device in desktop flutter app in Firebase Storage ! isuss in this line : final uploadTask = FirebaseStorage.instance.ref('$path/$imageName').putFile(imageFile);
Firebase Core version
2.30.1
Flutter Version
3.19.5
Relevant Log Output
No response
Flutter dependencies
Expand
Flutter dependencies
snippet```yaml Replace this line with the contents of your `flutter pub deps -- --style=compact`. ```
Additional context and comments
No response