How to do weekly notification with with expo-notification. I am stuck on this for a week. Before it used be
repeat: weekly.
Any help appreciated
How to do weekly notification with with expo-notification. I am stuck on this for a week. Before it used be
repeat: weekly.
Any help appreciated
I do it like this:
const notification: NotificationRequestInput = {
identifier: NOTIFICATION_ID,
content: { your content },
trigger: { repeats: true, seconds: REMINDER_INTERVAL }
};
await Notifications.scheduleNotificationAsync(notification);
Where REMINDER_INTERVAL
would be a week in seconds for you i.e. 604800