79506649

Date: 2025-03-13 13:52:52
Score: 0.5
Natty:
Report link

Try a different method than putFile() to save your file.

I use putData() like this:

await imageFile.readAsBytes().then((value) async {
    await storageRef.putData(value, SettableMetadata(contentType: fichierEnCours.mimeType));
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: JTO Informatique