googlearchive/android-JobScheduler

when the reboot the system all the jobs are closed

arunpandian22 opened this issue · 3 comments

After adding the jobs in job scheduler and reboot the system and open the app all pending jobs are cancelled. why?

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

hope this link will solve your problem:
http://www.zoftino.com/android-job-scheduler-example

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.