react-native-push-notification icon indicating copy to clipboard operation
react-native-push-notification copied to clipboard

All Repeat Notifications fire at one time in day

Open arjundalal opened this issue 3 years ago • 2 comments

Hello, I have schedule two notification on same date for different time using different channel ID. My notification dates are: - 2021-07-17T07:15:00.656Z and 2021-07-17T07:00:00.291Z. it will work fine on same day, but when i move date to next day all notification fire at one time. My notification set code is :- PushNotification.localNotificationSchedule({ channelId: this.channelID, title: title, largeIcon: 'ic_launcher', smallIcon: 'ic_launcher', message: message, userInfo: {}, playSound: true, soundName: 'default', date: date, allowWhileIdle: true, priority: 'high', repeatType: 'day', repeatTime: 1, });

can any one please help me to solve this issue i am struct on this issue. please help me Thanks in advance

arjundalal avatar Jul 17 '21 07:07 arjundalal

so when you fire on the same day does it get fired when the app is closed or when the app is in background or foreground mode

shrutiraoniit25 avatar Jul 28 '21 07:07 shrutiraoniit25

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jul 29 '22 00:07 github-actions[bot]

i am also facing same issue, i am passing every day date till 30 days and after 2 days, it still trigger previous days notification. is there any solution for this?

PushNotification.localNotificationSchedule({
      channelId: 'cannel_id',
      title: 'app_title',
      message: 'message_value',
      date,
    });

pankajsoftyoi avatar Feb 20 '24 17:02 pankajsoftyoi