I need to call one API daily in the background even if the app is closed. I have seen about WorkManager API. For my scenario, I tried PeriodicWorkRequest but unfortunately,
There was issue in alpha 01 which:
Fixed an issue which caused Workers to be rescheduled on Application.onCreate().
Use latest version of WorkManager i.e. 1.0.0-alpha02. Check release notes for more info