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

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

Abhinav Jain
1#
Abhinav Jain Published in 2017-09-14 05:37:03Z

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

Ashik sunny
2#
Ashik sunny Reply to 2017-09-28 12:51:38Z

In Job builder try setReplaceCurrent(false)

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.303244 second(s) , Gzip On .

© 2016 Powered by cudou.com design MATCHINFO