diff --git a/src/Navigation.tsx b/src/Navigation.tsx index c2eac7d6b4..a9b3c00585 100644 --- a/src/Navigation.tsx +++ b/src/Navigation.tsx @@ -885,7 +885,6 @@ function RoutesContainer({children}: React.PropsWithChildren<{}>) { const emailDialogControl = useEmailDialogControl() const closeAllActiveElements = useCloseAllActiveElements() const linkingUrl = Linking.useLinkingURL() - const notificationResponse = Notifications.useLastNotificationResponse() /** * Handle navigation to a conversation, or prepares for account switch. @@ -926,6 +925,8 @@ function RoutesContainer({children}: React.PropsWithChildren<{}>) { // intent urls are handled by `useIntentHandler` if (linkingUrl) return + const notificationResponse = Notifications.getLastNotificationResponse() + if (notificationResponse) { notyLogger.debug(`handlePushNotificationEntry: response`, { response: notificationResponse,