App was not open, and then opened by selecting the push notification

Hi! Is there any way to listen to the push notifications when the app was not open (not backgrounded) and then opened by selecting the push notification (in bare workflow with expo-notifications)? To be able to perform some action depending on the notification body. Listener registered by addNotificationResponseReceivedListener only triggers when the app is in the background. In managed workflow such cases are handled by Notifications.addListener(listener)

This topic may be deleted, because of the corresponding issue on GitHub: [expo-notifications][bare workflow] Listener registered by addNotificationResponseReceivedListener() doesn't fire when the app is closed and then opened by tapping the push notification · Issue #7787 · expo/expo · GitHub