Skip to content

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