You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Upload a [File] from the filesystem. The file must exist. /// /// Optionally, you can also set metadata onto the uploaded object.UploadTaskputFile(File file, [SettableMetadata? metadata]) {
assert(file.absolute.existsSync()); //<---returnUploadTask._(storage, _delegate.putFile(file, metadata));
}
Is there an existing issue for this?
What plugin is this bug for?
Firebase UI Storage
What platform(s) does this bug affect?
Android
List of dependencies used.
flutter pub deps -s list
dev dependencies:
dependency overrides:
transitive dependencies:
Steps to reproduce
'package:firebase_storage/src/reference.dart': Failed assertion: line 127 pos 12: 'file.absolute.existsSync()': is not true.
Expected Behavior
For the upload to go through/file to exist
Actual Behavior
Error:
@firebase_storage:
@UploadButton:
Additional Information
No response
The text was updated successfully, but these errors were encountered: