Skip to content

🚀 Hotfix: Fix Modal Orientation Crash in React Native 0.77 #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

souhailtourjmen
Copy link

Pull Request Description:
This PR resolves a critical crash related to modal orientation in React Native 0.77, where RCTFabricModalHostViewController was causing an UIApplicationInvalidInterfaceOrientation error.

🔧 Fixes & Changes:
Updated supportedOrientations to explicitly allow all necessary orientations:
["portrait", "portrait-upside-down", "landscape", "landscape-left", "landscape-right"].
Ensured modals respect allowed orientations and prevent unexpected crashes.
Verified compatibility with iOS devices running the latest version.
🔥 Why is this urgent?
This issue breaks the app on iOS when displaying modals, making it a blocking bug for production. Immediate merge is recommended to restore stability.

✅ Tested and confirmed working on real devices.

🚀 Requesting an urgent review & merge! 🙏

Let me know if you need any tweaks! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant