Closed ysnbyzli closed 1 year ago
I don't think you need to create a variable. Simply do:
const handleNotifications = () => {
Notifications.postLocalNotification({
body: 'Local notification!',
title: 'Local Notification Title',
userInfo: {},
});
};
Just tried the above code and it works.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
The issue has been closed for inactivity.
Hi,
I want to show a local notification with this code, but nothing happens