Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug Report: downloading videos with flutter_downloader package is failing #201

Open
2 tasks done
Lazizbek97 opened this issue May 12, 2024 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@Lazizbek97
Copy link

Lazizbek97 commented May 12, 2024

馃憻 Reproduction steps

I am using flutter_downloader plugin to download storage files, but it is failing with following error:
flutter: Callback on UI isolate: task (taskid) is in status (DownloadTaskStatus.failed) and process (-1)

i guess it is because of storage file url. I tried with following url:
'${Constants.apiEndPoint}/storage/buckets/${Constants.moviesBucketId}/files/$movieFileId/view?project=${Constants.projectId}'

'${Constants.apiEndPoint}/storage/buckets/${Constants.moviesBucketId}/files/$movieFileId/download?project=${Constants.projectId}'

'${Constants.apiEndPoint}/storage/buckets/${Constants.moviesBucketId}/files/$movieFileId/preview?project=${Constants.projectId}'

馃憤 Expected behavior

i should be able to get correct url to download videos with flutter_downloader plugin without any problems.

馃憥 Actual Behavior

on ios, it is not downloading sometimes. and giving following issue:
Callback on UI isolate: task (taskid) is in status (DownloadTaskStatus.failed) and process (-1)
on android, progress is going to negative(progress<0), as above error message. but successfully downloaded.

馃幉 Appwrite version

Version 2.0.x

馃捇 Operating system

Linux

馃П Your Environment

flutter 3.19.0
appwrite: ^12.0.3
flutter_downloader: ^1.11.7

馃憖 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

馃彚 Have you read the Code of Conduct?

@Lazizbek97 Lazizbek97 added the bug Something isn't working label May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant