Skip to content
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

No way to pass custom time to periodicallyShow() #2522

Open
centy opened this issue Jan 26, 2025 · 2 comments
Open

No way to pass custom time to periodicallyShow() #2522

centy opened this issue Jan 26, 2025 · 2 comments

Comments

@centy
Copy link

centy commented Jan 26, 2025

Hi,
I would like to create notification that will run eg. every monday on 14pm. Currently I do not see how to do that.

Why periodicallyShow() does not have that feature?

@lukepighetti
Copy link

lukepighetti commented Feb 5, 2025

yeah this one is confusing to me. right now it looks like you can:

  • schedule for a point in time in the future (zonedSchedule)
  • schedule for an interval starting now (periodicallyShowWithDuration / periodicallyShow)

you cannot:

  • schedule for an interval starting in the future

use case: "remind me to do my workout every day at 6am"

this is one of the most common revenue driving use cases for local notifications for b2c apps

@lukepighetti
Copy link

@centy this might be helpful, see the tweet linked within https://gist.github.com/lukepighetti/a7c44cb921b62876d4be18394246695e

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

2 participants