Hey all,
I’m trying to implement Local Notifications on iOS. They do not seem to trigger at all.
React.useEffect(() => {
LocalNotifications.schedule({
notifications: [
{
title: "Test Title",
body: "Test Body",
id: id: Math.floor(Math.random() * 6000000),
schedule: {
at: new Date(Date.now() + 1000 * 5), // in 5 secs
repeats: false
}
}
]
});
}, [])
Do you have any idea?
The console.log seems to be fine, no error messages.