react-native-alert-notification icon indicating copy to clipboard operation
react-native-alert-notification copied to clipboard

🚀 Hotfix: Fix Modal Orientation Crash in React Native 0.77

Open souhailtourjmen opened this issue 9 months ago • 0 comments
trafficstars

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! 🚀

souhailtourjmen avatar Feb 13 '25 11:02 souhailtourjmen