Before opening PDF file my landscape and portrait orientation for the app works perfectly. It can be seen in the attached video in first 5-10 seconds. But after i open the pdf file and navigate to go back. My entire application is disaligned when rotates to Landscape. SafeAreaView doesn't work, and application is overflowing from the notch area (check last 5-10 sec of the video).
"react-native": "0.63.3", "react-navigation": "^4.0.10", "react-navigation-stack": "^1.9.4", "react-navigation-tabs": "^2.5.6",
"react-native-pdf": "6.6.2",
ios and android both (devices which have notch)
Before opening PDF file my landscape and portrait orientation for the app works perfectly. It can be seen in the attached video in first 5-10 seconds. But after i open the pdf file and navigate to go back. My entire application is disaligned when rotates to Landscape. SafeAreaView doesn't work, and application is overflowing from the notch area (check last 5-10 sec of the video).
https://github.com/user-attachments/assets/04cdb516-568e-4803-9b21-bae6153e7789