when the reboot the system all the jobs are closed
arunpandian22 opened this issue · 3 comments
arunpandian22 commented
After adding the jobs in job scheduler and reboot the system and open the app all pending jobs are cancelled. why?
umerabidin commented
while creating JobInfo object use jobInfo.setPersisted(true), that allows the app to run on restart.
This is the permission when a job is created as RECEIVE_BOOT_COMPLETED works
umerabidin commented
hope this link will solve your problem:
http://www.zoftino.com/android-job-scheduler-example
codingjeremy commented
This sample has been deprecated/archived (check README for more information on newer samples related to this technology).
As recommended by GitHub, we are closing all issues and pull requests.