Closed tsiareshchankau closed 8 months ago
It seems like it's a specific behaviour of iOS. Folks writing the native code have the same struggles https://stackoverflow.com/questions/41449749/how-can-i-skip-the-first-occurrence-of-a-repeating-uncalendarnotificationtrigger
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.
Bug
On iOS physical devices daily notification is not respecting the date as a start date.
If the HH:mm of the date is greater than current time, the notification would be received today regardless of the date being in the future (i.e tomorrow etc)
Environment info
react-native info
output:Library version: 8.1.1
Steps To Reproduce
Test on physical iOS device.
repeatType === 'day'
PushNotification.getScheduledLocalNotifications
HH:mm:ss
but date is set to todayDescribe what you expected to happen:
PushNotification.localNotificationSchedule
PushNotification.localNotificationSchedule
and repeats daily starting from then