fluttercommunity / fluttercommunity/flutter_downloader
Cancelling download when app is killed.
Open
- Dominant language
- Kotlin
- Stars
- 940
- Forks
- 561
- Avg merge
- 1h 18m
- Merged PRs (30d)
- 1
Description
I am using flutter_downloader: ^1.5.0 and after the app is killed the download still continues(on Android), is there any way that this could be controlled? I currently want the downloads to be canceled after the app is killed, I have tried to cancel using WidgetsBindingObserver since the lifecycle is inaccurate and there is surely no way to tell if the app is killed (AppLifecycleState.inactive is always called before AppLifecycleState.paused even when pausing while the app remains in the background).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.