Closed netofontess closed 2 months ago
I don't know if there's anything that can be done about that rare edge-case.
I don't know if there's anything that can be done about that rare edge-case.
Should he understand that there is another job running? I simple copied your example and add in the while loop...
After some research, I should be able to detect whether Android has an existing task scheduled.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Example BackgroundFetch
flutter info
,flutter doctor
): ✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.3 19D76, locale pt-BR)[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 11.3.1) [✓] Android Studio (version 3.5) [✓] VS Code (version 1.42.1) [✓] Connected device (1 available)
• No issues found!
To Reproduce Steps to reproduce the behavior:
Hi! Tk's for this plugin.
I have a problem with competing tasks, mainly at Headless. When I start BackgroundFetch Headless and open the application and force BackgroundFetch again it does not recognize that there is a task running and starts another one. Was he supposed to identify that? If I force a HeadLess and while running force another, it will also start another one without stopping the previous one.
Obs: I used the example in the repository to simulate this action.