FirebaseJobDispatcher does not schedule job and gives error that there are too many tasks scheduled for this package

453 views Asked by At

When I try to schedule a job using FirebaseJobDispatcher it gives error that there are too many tasks scheduled for this package. I have 5 jobs scheduled.

The exact error I get is as follow -

NetworkScheduler: Too many tasks scheduled for this package. Not scheduling: [package.name/com.firebase.jobdispatcher.GooglePlayReceiver:UpdateCheckinFailed,u0]

How should I solve this issue, I can't reduce the number of jobs as all those jobs work independently for syncing from local device to server and I close them properly when sync is completed.

Thanks

1

There are 1 answers

1
Ashik sunny On

In Job builder try setReplaceCurrent(false)