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
{{ message }}
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
Currently having an issue where the notification is firing day 1 but not firing on day 2. Here is my current code below:
Am I doing something wrong? I am testing on Android
The text was updated successfully, but these errors were encountered: