Run a background task with android_alarm_manager in flutter Run a background task with android_alarm_manager in flutter dart dart

Run a background task with android_alarm_manager in flutter


Since you are using an interval below 1 minute, your issue might be a system limitation. According to this comment:

Since Android 5.1, the minimum interval for a periodic fire using AlarmManager is 1 minute. So even if you pass a smaller duration, it will default to 1 minute. If you want to call more frequently, you should look into Handler.