proyecto26 / react-native-inappbrowser

📱InAppBrowser for React Native (Android & iOS) 🤘
https://www.npmjs.com/package/react-native-inappbrowser-reborn
MIT License
1.29k stars 218 forks source link

Crashes on open when modalPresentationStyle = 'popover' #456

Open cveklica opened 1 month ago

cveklica commented 1 month ago

App crashes when there is a custom style and on specific device when modal is enabled and modalPresentationStyle = 'popover'. It was diagnosed on AppStore review with iOS 17.5 and confirmed on Simulator on iOS 17.2

browser settings:

{
...
modalEnabled: true,
modalPresentationStyle: 'popover'
...
}

Which platform(s) does your issue occur on?

Please, tell us how to recreate the issue in as much detail as possible.

just put this specific style to this specific device, nothing fancy

Fixed by putting modalPresentationStyle: 'automatic' but I'm not sure it will work on all devices.