react-native-inappbrowser icon indicating copy to clipboard operation
react-native-inappbrowser copied to clipboard

Crashes on open when modalPresentationStyle = 'popover'

Open cveklica opened this issue 8 months ago • 0 comments

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?

  • iOS only

  • iOS 17.x

  • simulator and device - iPad Air (5th Generation)

  • CLI: 6.4.0

  • Plugin(s): "react-native-inappbrowser-reborn": "3.7.0",

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.

cveklica avatar Jun 04 '24 13:06 cveklica