I had the issue that some delayed/scheduled Notifications using delay or sendAt are sometimes firing up to a minute later. In case anyone else has this issues and needs a solution, it's because this API uses AlarmManager.set in Notification.java which is inexact since SDK version >= 19.
I switched to AlarmManager.setExact instead and I haven't seen any notifications firing late yet. See also this question on stackoverflow.
Not sure if this should be the new standard though as this approach consumes more resources / battery power in comparison with the other.
I had the issue that some delayed/scheduled Notifications using
delay
orsendAt
are sometimes firing up to a minute later. In case anyone else has this issues and needs a solution, it's because this API usesAlarmManager.set
inNotification.java
which is inexact since SDK version >= 19. I switched toAlarmManager.setExact
instead and I haven't seen any notifications firing late yet. See also this question on stackoverflow. Not sure if this should be the new standard though as this approach consumes more resources / battery power in comparison with the other.