react-native-push-notification
react-native-push-notification copied to clipboard
Fixed repeatType for day
Dont work date option if set repeatType="day"
I think the right solution is this: https://github.com/zo0r/react-native-push-notification/pull/2229, maybe could merge this? It's a minimal change @Dallas62
@BrandonMA It is fixed dev build but broke release build... If u want test daily notification - change node_modules but stay original for release=) I dont now why repeatType === 'month' correct work for release-_-
Mmm weird, we have been using this fix at my company and it works. If you check the iOS documentation if you want the notification to repeat every day then you need second
, minute
, and hour
. If you pass day
it will repeat the notification every month, let's say I create a notification for April 1st and pass day
, then the next notification I will receive is for May 1st.
In any case, you can also fork the project and consume the library directly from Github, that's what we did.
As mentioned in the linked PR: https://github.com/zo0r/react-native-push-notification#state-of-the-repository
I highly recommend to move from this library to an other which is actively maintained. I don't have time anymore, and I don't use the library anymore.
Regards.
Maybe @Narmical will be able to help you soon.
This pull request 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.