fluttercommunity / fluttercommunity/flutter_downloader
Downloader not working for dynamic zip / generated zip download [file getting download at specified path but it is corrupted. ]. Direct zip link it is
- Dominant language
- Kotlin
- Stars
- 940
- Forks
- 561
- Avg merge
- 1h 18m
- Merged PRs (30d)
- 1
Description
I am using `flutter_downloader` in conjuction with `flutter_inappwebview`
``` onDownloadStart: (controller, url) async {
filePath =
(await getExternalStorageDirectory()).path;
print("onDownloadStart $url and path $filePath");
final taskId = await FlutterDownloader.enqueue(
fileName: "offlineaadhaar.zip",
// headers: {"Content-Type":"application/octet-stream"},
url: url.toString(),
savedDir: filePath,
showNotification: true,
// show download progress in status bar (for Android)
openFileFromNotification:
true, // click on notification to open downloaded file (for Android)
);
print("on Download Task Id: $taskId")
},
```
file getting download at specified path but it is corrupted.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.