Closed nahid-urelaa closed 4 months ago
Thanks for reaching out. The download will resume from where it was interrupted only if the server allows for that, and a few other conditions ,and it sounds like that may not be the case. I don't think there's anything I can help with, sorry
for example :
My file size is 100 MB. When I start the download, it proceeds to 50% completion. However, if my network connection is interrupted at that point, the download restarts from the beginning once the network is restored. Ideally, the download should resume from where it left off.
this is my code :
void downloadConfig() {
}
void downloadNotificationSetup() {
}
Future downloadSingleVideo(
{required String url,
required String fileName,
required int fileSize}) async {
double fileSizeInMB = fileSize / (1024 * 1024);
try {
}
Can you please help me