Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Scheduled local notifications are not showing up after reboot on Android  #991

@MrAdex77

Description

@MrAdex77

Hello, I'm testing on an Android emulator with battery optimizations turned off, Android 14. And the trigger notifications with alarmManager or the other one are not showing up after reboot. It doesn't works also on Samsung, one-plus and Xiaomi
Example code:

      const trigger: TimestampTrigger = {
        type: TriggerType.TIMESTAMP,
        alarmManager: { type: AlarmType.SET_EXACT_AND_ALLOW_WHILE_IDLE },
        timestamp,
      };
      const notifeeNotification: NotifeeNotification = {
        title,
        body,
        data: { },
        android: {
          channelId: androidChannelId,
          pressAction: androidPressAction,
          importance: AndroidImportance.HIGH,
        },
      };
      const notificationId = await notifee.createTriggerNotification(notifeeNotification, trigger);

Repro steps:

  • Create trigger notification which should show up in 5 min
  • Reboot phone
  • don't open the app, wait for the exact time, there is no notification.

From logs I can see only the following:

02-14 15:11:31.267 6330 6330 D NOTIFEE : (context): received application context
02-14 15:12:03.032 6330 6330 D NOTIFEE : (NotifeeAlarmManager): Reschedule Notifications on reboot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions