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

Feature Request/Enhancement - Interval trigger with custom timestamp #1062

Open
talha-arshad-temedica opened this issue Jul 10, 2024 · 9 comments

Comments

@talha-arshad-temedica
Copy link

talha-arshad-temedica commented Jul 10, 2024

Interval Trigger
The IntervalTrigger allows you to create a trigger that repeats at a specific interval. The trigger accepts two properties, an interval and an optional timeUnit.

This trigger can be used to implement timers.

For example, to set a trigger to repeat every 60 minutes from now:

import notifee, { IntervalTrigger, TriggerType, TimeUnit } from '@notifee/react-native';

const trigger: IntervalTrigger = {
type: TriggerType.INTERVAL,
interval: 60,
timeUnit: TimeUnit.MINUTES
};

ABOVE FEATURE ALREADY EXIST IN THE LIBRARY

but what I want is to start interval after specific date and time.
for example. I want to start drinking water every 1 hour from tomorrow 10:AM onwards

So I should receive notifications from tomorrow by 10:00 AM, 11:00AM, 12:00PM, 1:00PM ....

@LeonSoler
Copy link

i also need this feature

@talha-arshad-temedica
Copy link
Author

Any update on this?

@tharyckgusmao
Copy link

Any updates, or an alternative way to get this feature, using the methods we have?

@brunul
Copy link

brunul commented Aug 22, 2024

i also need that too

Copy link

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

@saaspeter
Copy link

also need this. If the Interval trigger cannot be set start time, then this interval type seems no use, generally we set the interval timer like this: every 4 fours remind me from 9:00AM.

@talha-arshad-temedica
Copy link
Author

also need this. If the Interval trigger cannot be set start time, then this interval type seems no use, generally we set the interval timer like this: every 4 fours remind me from 9:00AM.

Agree. This is a very common use case. But unfortunately, there is no progress on this topic

Copy link

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

@mikehardy
Copy link
Contributor

also need this. If the Interval trigger cannot be set start time, then this interval type seems no use, generally we set the interval timer like this: every 4 fours remind me from 9:00AM.

Agree. This is a very common use case. But unfortunately, there is no progress on this topic

Would be happy to take any PRs to implement it

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

6 participants