Currently, in Android, to perform a task periodically depending on time or any other factors, such as charging status, network status, etc., the main three parameters are: Android AlarmManager (which works periodically depending on time), GCMTaskService ( requires Google Play on the device) and JobScheduler (Android version> 21 required). I recently ran into these two job scheduling libraries, one from Firebase and one from Evernote.
My main question is: how do these two libraries compare? What are their strengths and weaknesses?
I want to create an application where the user is reminded of the need to take medication after a certain period of time.
My secondary question is: is a simple AlarmManager enough for this purpose, or should I go to either of these two libraries?
Thanks.
android alarmmanager android-jobscheduler firebase-job-dispatcher android-job
Riddhiman adib
source share