-
Notifications
You must be signed in to change notification settings - Fork 208
Issue while scheduling Firebase JobDispatcher job - Too many tasks scheduled for this package. Not scheduling #155
Comments
Hi |
@unEgor Thanks for the quick response. Is there a temporary fix that I can use in the meantime? |
I am facing Same Issue. Is there any workaround? |
I'm depending on version 0.8.2 and still getting this error. Do you somehow have to cancel all the existing jobs before updating for the fix to take effect? Even uninstalling the app doesn't help. |
@tschuchortdev The only solution I have found so far is to restart the phone. Restarting the phone clears all the tasks. |
restarting the device after upgrading to 0.8.2 seems to fix the error for now. |
Unfortunately I'm not able to reproduce it on 0.8.2 |
Google Play Services version: 11.6.73 To reproduce, use version 0.8.1 to trigger the bug, then upgrade to 0.8.2 and scheduling tasks should still fail with the same error until all tasks are cleared by restarting the device. Not something worth investigating probably, since it only seems to occur in this specific scenario. |
We are using firebase-jobdispatcher version 0.6.0 for scheduling our jobs. When we try to schedule new jobs we get -
NetworkScheduler: Too many tasks scheduled for this package. Not scheduling: [package.name/com.firebase.jobdispatcher.GooglePlayReceiver:taskFailed,u0]
More information - We are scheduling 6 jobs and using setreplacecurrent(true) on all of them.
Edit 1: This issue persists even when I reinstall the app but goes away when I change package name of the app. Also, when I check number of task count by user and package name using "adb shell dumpsys activity service GcmService --endpoints", it shows 110. The number of task for my app's package remain same after uninstalling the app and calling cancelAll with FirebaseJobDispatcher.
The text was updated successfully, but these errors were encountered: