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

v2.1.1 Alarm Ringtone Cannot Ringing If the App Closed #152

Closed steveng15 closed 9 months ago

steveng15 commented 9 months ago

Alarm plugin version v2.1.1

Describe the bug I'm having trouble installing/creating an alarm. I'm using alarm version 2.1.1

When my alarm application is closed/removed from the application history window, the alarm does not sound but displays a notification. notes: Running background application has been ON.

When my alarm app is not closed/removed it runs normally. How do I keep the alarm sounding when the app is closed/removed from the app history window?

Thank you.

dhaval0122 commented 9 months ago

Is this issue resolved in the newer version of the pub? For example, alarm: ^3.0.10. Or are there still issues? I am encountering the same problem with my iOS app.

gdelataillade commented 9 months ago

Hi @steveng15 @dhaval0122

As mentioned in the README, iOS alarms can't ring if the app was killed/terminated manually by the user, because all background processes are terminated and then it is impossible for me to run the code to trigger the alarm.

Please read the README for more information.