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

Sometimes notifications Issue #80

Closed dev-chetan closed 11 months ago

dev-chetan commented 1 year ago

Sometimes notifications are not coming if the background and screen lock.

gdelataillade commented 1 year ago

iOS or Android ?

dev-chetan commented 1 year ago

Both Platform

gdelataillade commented 1 year ago

I published earlier the version 1.2.2 where I upgraded flutter_local_notification, maybe it will fix your issue.

If not, please make sure you followed the instructions in the README.

Also try to take a look at the instructions steps of flutter_local_notification package.

Let me know if it helps. Otherwise, I'll review my code.

gdelataillade commented 1 year ago

In debug mode, watch the plugin's logs and make sure the notification are scheduled for the right GMT DateTime.

dev-chetan commented 1 year ago

Hello, @gdelataillade

I'm updating to the new version 1.2.2 sound perfect but not arrived notification, the issue is already there. and enableNotificationOnKill: true this flag set true but did not arrive a kill notification

gdelataillade commented 1 year ago

Hi @dev-chetan

Looks like you have an issue with notifications, that's really weird. Have you tried to uninstall/reinstall your app and made sure you gave notification permission ? You can also change the permission in your device Settings.

dev-chetan commented 1 year ago

if I have a set alarm after 5 min so works fine with sound and notification than set more time sound done but not get notification.

gdelataillade commented 1 year ago

Are you testing with the example app or with you own app ?