Firing Scheduled Local Notifications in Android

Özgür Taş
Aug 26, 2020

I want to share my “Notification Man” 3rd party Android library with you. This library’s superpower is firing scheduled local notifications.

I managed it by using Work Manager which is one of the new Android Jetpack components. The solution is simple: Use 2 work managers. LocalNotificationPostWorker is going to schedule the task. After that, LocalNotificationShowWorker is going to show the notifications.

The library and source codes are here.

Check out snippets

App is in foreground:

Exit the app:

App is in background:

App is killed: