notifications listener doesn't work for Android

Hi,
1)Notifications listener doesn’t work for Android and works fine for IOS when added below code inside a function.

const backgroundSubscription = Notifications.addNotificationResponseReceivedListener(response=>{ });

const foregroundSubscription = Notifications.addNotificationReceivedListener(notification =>{})

2)Also listener doesn’t get trigger from useEffect for Android neither for iOS ,as mentioned in the docs.

Provide some update for this issue.

Hi, there’s not enough info here to help you. The example Snack from the docs uses both of these listeners, and they each work on iOS and Android on SDK 41 Notifications - Expo Documentation