Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alarm does not work when phone is locked #4

Open
Intihar12 opened this issue Mar 14, 2022 · 2 comments
Open

Alarm does not work when phone is locked #4

Intihar12 opened this issue Mar 14, 2022 · 2 comments

Comments

@Intihar12
Copy link

Intihar12 commented Mar 14, 2022

I am calling this function FlutterAlarmClock.createAlarm(16, 39); in my initState() method.
The alarm works when the app is open.

But when it is removed from background or the phone is locked, the alarm does not rung.

I am testing it on Android 12.

Any help is highly appreciated.
Thank you.

@mevljas
Copy link
Owner

mevljas commented Mar 14, 2022

Do you have a problem with creating an alarm while the app is in the background or with your alarm app playing an alarm?

@Intihar12
Copy link
Author

Intihar12 commented Mar 15, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants