Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Repeat Notification only firing Day Of Notification but not Day 2 #2068

Closed
twalkerjr22 opened this issue Jun 28, 2021 · 3 comments
Closed

Repeat Notification only firing Day Of Notification but not Day 2 #2068

twalkerjr22 opened this issue Jun 28, 2021 · 3 comments

Comments

@twalkerjr22
Copy link

twalkerjr22 commented Jun 28, 2021

Currently having an issue where the notification is firing day 1 but not firing on day 2. Here is my current code below:

const getCorrectDate = () => {
      const date = new Date();
      date.setDate(date.getDate());
      date.setHours(21);
      date.setMinutes(30);
      return date;
    };
PushNotification.localNotificationSchedule({
        //... You can use all the options from localNotifications
        channelId: "wakeup",
        message: "Your evening routine is ready.", // (required)
        date: getCorrectDate(), // in 60 secs
        allowWhileIdle: true, // (optional) set notification to work while on doze, default: false
        repeatType:"day",
      })

Am I doing something wrong? I am testing on Android

@Dallas62
Copy link
Collaborator

Hi,
Please read pinned issues.
Regards

@twalkerjr22
Copy link
Author

@Dallas62 Which pinned issue? I didn't see any of the three pinned issues related to my issue

@Dallas62
Copy link
Collaborator

Dallas62 commented Jul 1, 2021

#1574
Read it completely

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

No branches or pull requests

2 participants