fluttercommunity / fluttercommunity/flutter_downloader
onNetworkChanged() not implemented in androidx.work.impl.background.systemjob.SystemJobService. Must override in a subclass.
- Dominant language
- Kotlin
- Stars
- 940
- Forks
- 561
- Avg merge
- 1h 18m
- Merged PRs (30d)
- 1
Description
Work [ id=e1c3c953-0b9c-440b-8f99-c5b16239e8ec, tags={ vn.hunghd.flutterdownloader.DownloadWorker, flutter_download_task } ] was cancelled
I/WM-WorkerWrapper(26420): java.util.concurrent.CancellationException: Task was cancelled.
I/WM-WorkerWrapper(26420): at androidx.work.impl.utils.futures.AbstractFuture.cancellationExceptionWithCause(AbstractFuture.java:1183)
I/WM-WorkerWrapper(26420): at androidx.work.impl.utils.futures.AbstractFuture.getDoneValue(AbstractFuture.java:513)
I/WM-WorkerWrapper(26420): at androidx.work.impl.utils.futures.AbstractFuture.get(AbstractFuture.java:474)
I/WM-WorkerWrapper(26420): at androidx.work.impl.WorkerWrapper$2.run(WorkerWrapper.java:316)
I/WM-WorkerWrapper(26420): at androidx.work.impl.utils.SerialExecutorImpl$Task.run(SerialExecutorImpl.java:96)
I/WM-WorkerWrapper(26420): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
I/WM-WorkerWrapper(26420): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
I/WM-WorkerWrapper(26420): at java.lang.Thread.run(Thread.java:1012)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting the Android WorkManager integration around androidx.work.impl.background.systemjob.SystemJobService and reproduce the cancellation shown in the issue log. The issue names no repository file or test, so first identify the plugin entry point responsible for the worker and determine whether the missing onNetworkChanged() implementation is the cause. Done should mean the reported cancellation is resolved and covered by an appropriate test or reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, flutter, kotlin
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100