flutter_downloader
flutter_downloader copied to clipboard
Downloading cancel or failed after 10 minutes
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 dozed mode, I changed my device sleep time to never and test it again, it failed again. What's the point? And work manager can work infinite if we enabled no battery restriction and autostart. But downloading can not progress, even I enabled it.
flutter_downloader: 1.7.2
I got a idea, I tried VidMate for how it is being download more than 10 minutes, finally I got the answer, they are downloading with background service. If u have idea to add it. That will be help full for most of us.
flutter_background_service: ^0.2.5
U can download in background service. If it is work, we don't need to worry about the 10 minutes problem.
When I try with flutter_background_service the app is crashed with below log
Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 13167 (pool-2-thread-1), pid 12775
I have faced same issue in Android and i got solution.I have forked this repository. I'm using foreground service in android to run long running task(worker) in android. https://github.com/ms-biztech/green_flutter_downloader