Android Workmanager PeriodicWorkRequest is not unique
For OneTimeWorkRequest we can use WorkContinuation to ensure that if the job is already scheduled we can KEEP or REPLACE it. There is no such option for PeriodicWorkRequest, so every time my main activity is created a new job is created and after a while I get this exception. java.lang.IllegalStateException: Apps may not schedule more than 100 distinct jobs So I'm trying the following to create a "unique peiodic work" public void schedule(){ Constraints constraints = new Constraints.Builder().setRequiresBatteryNotLow(true).build(); OneTimeWorkRequest zombieSpawnWorker = new OneTimeWorkRequest