|
@@ -257,6 +257,7 @@ class FileUploader {
|
|
file.toString() +
|
|
file.toString() +
|
|
", isForced: " +
|
|
", isForced: " +
|
|
forcedUpload.toString());
|
|
forcedUpload.toString());
|
|
|
|
+ // The timeouts are to safeguard against https://github.com/CaiJingLong/flutter_photo_manager/issues/467
|
|
final asset = await file
|
|
final asset = await file
|
|
.getAsset()
|
|
.getAsset()
|
|
.timeout(Duration(seconds: 3))
|
|
.timeout(Duration(seconds: 3))
|