update pickup
This commit is contained in:
@@ -44,7 +44,7 @@ Future<String> uploadStorage(String path, File? file,
|
||||
}
|
||||
Reference ref = FirebaseStorage.instance.ref().child('$path/$fileName');
|
||||
UploadTask uploadTask = ref.putFile(file);
|
||||
await uploadTask.resume();
|
||||
await uploadTask;
|
||||
String downloadUrl = await ref.getDownloadURL();
|
||||
return downloadUrl;
|
||||
// StorageReference storageReference =
|
||||
|
||||
Reference in New Issue
Block a user