You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How i check for is my alarm is stopped from notification stop button.
In my app to stop alarm i am using Alarm.stop(id); to stop the alarm so here after i called it i can do something in my code,
but what about stopping alarm from notification button? here i have to call a function when i stop alarm from notification
as me, you can provide onStop method when stop from notification stop button.
If there is method like this then everyone can perform some task on alarm stop from stop button of notification.
And also need onTap of notification
If there is onTap for notification then user can perform task accordingly.
Additional context
For my app i have to show non dismissible notification when user stops the alarm. This is possible when i use Alarm.stop(id); but need to do from notification stop button. I used flutter_local_notifications for non dismissible notification.
And also want to open Alarm screen when tap on notification, so for it onTap is useful.
The text was updated successfully, but these errors were encountered:
I'll consider adding a onStop callback when the alarm is stopped from the notification and a onTap when app is opened from the notification. I'll keep you updated here.
Alarm plugin version
4.0.0-dev.3
How i check for is my alarm is stopped from notification stop button.
In my app to stop alarm i am using Alarm.stop(id); to stop the alarm so here after i called it i can do something in my code,
but what about stopping alarm from notification button? here i have to call a function when i stop alarm from notification
as me, you can provide onStop method when stop from notification stop button.
If there is method like this then everyone can perform some task on alarm stop from stop button of notification.
And also need onTap of notification
If there is onTap for notification then user can perform task accordingly.
Additional context
For my app i have to show non dismissible notification when user stops the alarm. This is possible when i use Alarm.stop(id); but need to do from notification stop button. I used flutter_local_notifications for non dismissible notification.
And also want to open Alarm screen when tap on notification, so for it onTap is useful.
The text was updated successfully, but these errors were encountered: