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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flutter downloader not loading tasks in ios #787
Comments
@noeljayson did it work on a previous version? |
No it's not working in previous version |
Hi,I have the same problem, in iOS |
Is this issue solved in lastest update |
Need to dig deeper, but from what I can gather the https://github.com/fluttercommunity/flutter_downloader/blob/master/ios/Classes/DBManager.m#L101 |
I think this is due to [[NSFileManager defaultManager] createDirectoryAtPath:self.appDirectory withIntermediateDirectories:true attributes:nil error:&error]; |
@noeljayson yes, solved |
No bro i have tested it yesterday it is not loading tasks it is showing empty |
Hi, I've found the flutter_downloader to be comprehensive, but also a bit buggy, so I wrote a much simpler download package background_downloader. Have a look and see if it serves your needs. |
I found the solution, is a problem in the newer update, they added a variable allowCellular, when doing a FlutterDownloader.enqueue() you need to set it inside mandatory if you use loadTasksWithRawQuery, is probably a missing implementation as for loadTasks it is not needed. So just add |
Didn't quite understand your solution, in the FlutterDownloader.enqueue() constructor, "enable cellular" is set to true by default. |
I made a PR to solve the issue: #803 |
@lucaantonelli I don't understand either. I call XCode has console messages saying that the db table couldn't be created/opened:
How did you solve this with version |
@daveshirman |
Same issue. iOS DB is invalid absolutely on FlutterDownloader ^1.9.1. iOS can't open file download_tasks.sql, the file may never be created successfully. Problem occurred with DB migration before? |
After downloading the file the plugin does not load the the tasks .
FlutterDownloader.loadTasks() not loading downloaded tasks or its progress
List? getTasks = await FlutterDownloader.loadTasks();
it shows empty it works in android but not working in ios simulator
The text was updated successfully, but these errors were encountered: