@notifee/react-native / TimestampTrigger
Interface: TimestampTrigger
Interface for building a trigger with a timestamp.
View the Triggers documentation to learn more.
alarmManager?
optionalalarmManager:boolean|TimestampTriggerAlarmManager
Choose to schedule your trigger notification with Android's AlarmManager API.
By default, trigger notifications are created with Android's WorkManager API.
repeatFrequency?
optionalrepeatFrequency:RepeatFrequency
The frequency at which the trigger repeats. If unset, the notification will only be displayed once.
For example:
if set to RepeatFrequency.HOURLY, the notification will repeat every hour from the timestamp specified.
if set to RepeatFrequency.DAILY, the notification will repeat every day from the timestamp specified.
if set to RepeatFrequency.WEEKLY, the notification will repeat every week from the timestamp specified.
timestamp
timestamp:
number
The timestamp when the notification should first be shown, in milliseconds since 1970.
type
type:
TIMESTAMP
Constant enum value used to identify the trigger type.
