gdelataillade / alarm

A Flutter plugin to easily manage alarms on iOS and Android
https://pub.dev/packages/alarm
MIT License
132 stars 86 forks source link

Fix bootreceiver bug (android) #250

Closed aykutuludag closed 1 month ago

gdelataillade commented 1 month ago

The issue was a lack of backward compatibility with older AlarmSettings model when device rebooted. I added this code to ignore the reschedule with older models, in rescheduleAlarms:

if (alarm.notificationSettings == null) {
        continue
}

I'm publishing this fix in release 4.0.3 in the next minutes.