I’m trying to dismiss my notification when the “Dismiss” button is pressed, but it’s not working. The button just opens the expo app instead of dismissing the notification. Here’s my code for the listener function:

listener = (notification) => {
if (notification.actionId === ‘dismiss’) {
(async () => await Notifications.dismissNotificationAsync(notification.notificationId));


Am I missing something? Thanks!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.