Please provide the following:
- SDK Version: 39
- Platforms(Android/iOS/web/all): iOS
Hello,
I’m migrating from legacy notifications to the new expo-notifications and I can’t seem to find a way to set the “start date” for a “repeating notification” to start triggering.
for example the below code:
import * as Notifications from 'expo-notifications';
async function scheduleAndCancel() {
const identifier = await Notifications.scheduleNotificationAsync({
content: {
title: 'Hey!',
},
trigger: { seconds: 5, repeats: true }, //Here how do I say //start at 10:30PM tonight
});
await Notifications.cancelScheduledNotificationAsync(identifier);
}
How do I instruct it to start the first repeating notification at 10:30PM tonight? pls help. This used to be pretty easy in the previous notification version.