fluttercommunity / fluttercommunity/flutter_uploader

tag is not returned in the progress or result

Open
#213 1 comment 8 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
218
Forks
172
PR merge metrics
No merged PRs in 30d

Description

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.

``` _uploadVideo({required String url, List? path}) async {
_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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.