Skip to content

addNotificationRequest() only repeats daily #263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ninjz opened this issue Feb 24, 2021 · 2 comments
Open

addNotificationRequest() only repeats daily #263

ninjz opened this issue Feb 24, 2021 · 2 comments

Comments

@ninjz
Copy link

ninjz commented Feb 24, 2021

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.

@daheeahn
Copy link

daheeahn commented Mar 3, 2021

This feature is really important!

@jamesxabregas
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants