ios icon indicating copy to clipboard operation
ios copied to clipboard

addNotificationRequest() only repeats daily

Open ninjz opened this issue 4 years ago • 2 comments

From the looks of it, addNotificationRequest() only allows repeating a notification daily. This means losing functionality to repeat weekly, monthly, yearly, etc., which I'm sure a lot of apps depend on.

Looking at the code it looks like it shouldn't be too hard to extend the capabilities of addNotificationRequest() to support the same parameter repeatInterval by only adding the necessary flags in the date components.

I'd attempt this if I had time (which unfortunately I don't) and am ok with using the deprecated methods for now. If someone here would be able to add this functionality that would be great.

ninjz avatar Feb 24 '21 09:02 ninjz

This feature is really important!

daheeahn avatar Mar 03 '21 15:03 daheeahn

From what I've tested daily repeating doesn't even work properly through addNotificationRequest(). Only works with scheduleLocalNotification() at the moment. It seems to me the challenge is in abstracting the UNNotificationTrigger defintion.

jamesxabregas avatar Jul 18 '21 12:07 jamesxabregas