flutter_uploader
flutter_uploader copied to clipboard
tag is not returned in the progress or result
I was trying to upload a video, image and file at the same time. I used tag for each one. During the progress/result, the tag field is not returned.
_videoTaskId = await _uploader?.enqueue(
RawUpload(
url: url,
path: path?.first.path, // required: list of files that you want to upload
method: UploadMethod.PUT, // HTTP method (POST or PUT or PATCH)
tag: 'video_tag', // custom tag which is returned in result/progress
),
);
}
I am using 'flutter_uploader: ^3.0.0-beta.3'. In the older versions, there is the possibility of getting the tag from progress/result
From the looks of this comment, the tag is only returned on Android: https://github.com/fluttercommunity/flutter_uploader/blob/874f6a442fe26bd0917d2e2593f115c492eb4d92/lib/src/upload.dart#L24-L25