0

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!

1
  • Please provide enough code so others can better understand or reproduce the problem. Commented Feb 19 at 18:47

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.