Problem Statement:
In my Flutter-based Android app, I’m implementing a timer feature, but alarms are unreliable when the device is locked for a long time. Sometimes they ring late, and sometimes they don’t ring at all unless the user wakes the device manually.
Issue Details: • Need a reliable alarm for the timer, even when the device is idle. • Likely affected by Doze Mode, Battery Optimization, or background execution limits. • Tried AI tools and Google but haven’t found a fully working solution.
Help Needed: • Has anyone successfully implemented a 100% reliable timer/alarm in Flutter on Android? • Would AlarmManager, Foreground Service, or another method work best? • Any proven workarounds or configurations?
Looking for insights from those who have faced and solved similar issues!