yigit / android-priority-jobqueue

A Job Queue specifically written for Android to easily schedule jobs (tasks) that run in the background, improving UX and application stability.
3.4k stars 395 forks source link

Job not running when the app is closed, even after Integrating with Job scheduler #455

Open kpradeepkumarreddy opened 6 years ago

kpradeepkumarreddy commented 6 years ago

i integrated Job Manager with Job scheduler by following this guide https://github.com/yigit/android-priority-jobqueue/wiki/Integration-with-JobScheduler-and-GcmNetworkManager

Still the job is not running when the app is closed. I have set the batch mode as false, so that the job will run immediately. Even with setting batchSchedulerRequests = true, the job did not run at all. i waited for more than 15 minutes after closing the app. Though all the job conditions are met, the job did not run.

JimVanG commented 5 years ago

Check your stacktrace for other errors that you may introducing. Or perhaps your marshaling data that isn’t marshallable. Just some thoughts.

kpradeepkumarreddy commented 5 years ago

Check your stacktrace for other errors that you may introducing. Or perhaps your marshaling data that isn’t marshallable. Just some thoughts.

Are you able to get this working ?? I mean did you try integrating this library with job scheduler and got it working in your project ??