- SDK Version: 47.0.14
- Platforms(Android/iOS/web/all): Android
Hello,
I am using the expo-notification library with Expo SDK version 47.0.14. When the app is in the background (minimized or closed), the Notifications.addNotificationResponseReceivedListener
is not triggered. I have already tried using Notifications.addListener('notification', callback)
as suggested in the documentation, but it also didn’t work.
Here is an example of the code I am using:
import { Notifications } from 'expo';
Notifications.addNotificationResponseReceivedListener((response) => {
console.log(response.notification);
});
Additionally, notifications are received on some devices when the app is open, but not on others. Specifically, notifications are not received on Android 13.
Thank you for your help.