Skip to content

Notification triggered when click alarm tile from the quick settings #2726

@aa-mudassir

Description

@aa-mudassir

Describe the bug
Notification triggered when click alarm from the quick settings tile on Android

To Reproduce

  1. Create scheduled notification with flutterLocalNotificationsPlugin.zonedSchedule for specific date time
  2. set androidScheduleMode: AndroidScheduleMode.alarmClock,
  3. tap alarm tile from quick settings
  4. the notification triggered with incorrect time
Lzyct.Video.2025-11-24.06.07.33.pm.mp4

Expected behavior

  • Nothing happen when click the alarm tile

Sample code to reproduce the problem

    await flutterLocalNotificationsPlugin.zonedSchedule(
              "prayertime-$tzDateTime".hashCode,
              "$title",
              message,
              tzDateTime,
              notificationDetails ?? const NotificationDetails(),
              uiLocalNotificationDateInterpretation:
                  UILocalNotificationDateInterpretation.absoluteTime,
              androidScheduleMode: AndroidScheduleMode.exactAllowWhileIdle,
              payload:
                  "${LocalNotificationType.prayerTime.name};${tzDateTime.hashCode};$title",
            );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions