Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants