flutter_downloader
flutter_downloader copied to clipboard
Flutter Downloader - A plugin for creating and managing download tasks.
When a task is paused it can't be canceled, nothing happens when I call `FlutterDownloader.cancel(id);` here is my console when I pause a task: ``` I/WM-WorkerWrapper( 4633): Work [ id=a0a1583b-d0f5-4e63-b5b4-2fca3c0efd3e,...
```java /** * Create a file using java.io API */ private File createFileInAppSpecificDir(String filename, String savedDir) { File newFile = new File(savedDir, filename); try { boolean rs = newFile.createNewFile(); if...
I want to know how much size of the file being download has. Please Add It To DB so We can access it from DownloadTask instance.
### Problem Currently the download_tasks.sql file is stored in the documents directory on iOS. When one uses [UIFileSharingEnabled ](https://medium.com/@sasude9/download-files-in-files-app-in-ios-11-b676b89cf6be) for example to make downloaded files available in the Files app,...
Hello, thanks for the plugin. What I think is work manager is not working properly. Download is sending failed or cancel after 10 minutes, even I'm on the app, not...
``` Future download(String url) async { var permission = await Permission.storage.request(); if (permission.isGranted) { final baseStorage = await getExternalStorageDirectory(); await FlutterDownloader.enqueue( url: url, savedDir: baseStorage!.path, showNotification: true, openFileFromNotification: true); }...
I'm trying to separate the UI and the logic by using providers with ChangeNotifier. First round works perfectly fine but when tried to open the module again getting the error...
Recently I was using flutter_downloader package for a personal project. I wrote my program and found out it is not as performant as I want it to be. So I...
Hi, sorry if this has already questioned before. Is it possible to run this library in the background since this library itself runs in the background? The scenario is I...
I cannot say what is wrong. But following the example it works in android but not in IOS. when I try to download the file it return successful in Xcode...