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

Enhancements - Interval Trigger with start date and time. #887

Closed
ashishmangukiya opened this issue Oct 7, 2023 · 5 comments
Closed

Enhancements - Interval Trigger with start date and time. #887

ashishmangukiya opened this issue Oct 7, 2023 · 5 comments

Comments

@ashishmangukiya
Copy link

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 30 minutes from now:

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

const trigger: IntervalTrigger = {
type: TriggerType.INTERVAL,
interval: 30,
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 ....

This is the only implementation I want from the library.
Let me know if it is possible or not.

Copy link

github-actions bot commented Nov 4, 2023

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.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 19, 2023
@Alexzenderus
Copy link

Is there any change to have this implementation ? There is a way to specify the start date and time for the interval triggers ?

@brunul
Copy link

brunul commented May 9, 2024

i have same case here

@talha-arshad-temedica
Copy link

I also have same case. Is there any progress in that?

@talha-arshad-temedica
Copy link

@ashishmangukiya @Alexzenderus @brunul
Since this issue has been marked as stale. I have created another one for this here. Can you please comment on this to keep it alive?

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

No branches or pull requests

4 participants