I’ve been trying to implement expo-notifications in my application, I’m sending the notifications from my backend using the expo-server-sdk-node.
I’m receiving the notification on my phone, but when I try to get the data out of it using either Notifications.addNotificationResponseReceivedListener or Notifications.addNotificationResponseReceivedListener nothing happens, none of them trigger no matter the case (foreground, background or when interacting with the notification itself.
But if I’m doing scheduled notifications using Notifications.scheduleNotificationAsync from within the app, then the listeners work fine.
how to make the listeners work for remote notifications as well.
SDK Version: 39.0.0