We notice that AlarmManagerCompat
alone, isn't a reliable way to implement alarm/ reminder feature in our app, due to different AlarmManager
behaviour in different version of OS. (For instance, Doze mode)
Initially, we plan to use Evernote's android-job library, to help us implement alarm/ reminder feature in our app.
However, along the way, we also notice that Google just release WorkerManager
.
So far, WorkerManager
works well for us, when we run some one-time background jobs (Almost immediate, with internet connectivity constraint) after the app quit.
We have plan to use WorkerManager
to implement alarm/ reminder feature.
I was wondering, how reliable is WorkerManager
to implement such feature? Has anyone try it out? We are targeting API 15 and above.