Skip to content

Information request about multiple workmanager #576

Open
@ZSHUser01

Description

@ZSHUser01

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

Activity

alllohaaa

alllohaaa commented on Mar 10, 2025

@alllohaaa

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Information request about multiple workmanager · Issue #576 · fluttercommunity/flutter_workmanager