Open
Description
Hi,
I'm writing you to ask you an information about the workmanager library. So far I'm using the library to execute a task but I'm planning to add another task. Yesterday I tried to add a new task in my Flutter app on Android but as soon as I add a new task, the current task that it was working beforeadding the new one stopped working and the new task is not started at all.
The task that was running before adding the new task was a registerPeriodicTask and the last one is a registerOneOffTask. Both task have a different name and tag.
Does workmanager support only one task at time?
Thank you in advance for the support
Metadata
Metadata
Assignees
Labels
No labels
Activity
alllohaaa commentedon Mar 10, 2025
i got problems registering 2 periodic tasks, seems that is apple restriction: _There can be a total of 1 refresh task and 10 processing tasks scheduled at any time.
not sure about 1 registerPeriodicTask and 1 registerOneOffTask
https://developer.apple.com/forums/thread/741494
https://developer.apple.com/documentation/backgroundtasks/bgtaskscheduler/submit%28_:%29