question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Modal crashes on `react-native@0.66`

See original GitHub issue

App crash on IOS devices on click modal. After update the react-native 0.66.0 version.

Platforms

Crash on IOS platform

Versions

  • react-native-modal:13.0.0
  • react-native:0.66.0
  • react:17.0.2

Description

Fatal Exception: NSInvalidArgumentException 0 CoreFoundation 0x11b928 __exceptionPreprocess 1 libobjc.A.dylib 0x26480 objc_exception_throw 2 UIKitCore 0x47cd4c -[UIViewController popoverPresentationController:] 3 UIKitCore 0x47d7c0 __63-[UIViewController _presentViewController:animated:completion:]_block_invoke_2 4 UIKitCore 0x102329c +[UIView(Animation) performWithoutAnimation:] 5 UIKitCore 0x47d720 __63-[UIViewController _presentViewController:animated:completion:]_block_invoke 6 UIKitCore 0x496754 -[_UIViewControllerTransitionCoordinator _applyBlocks:releaseBlocks:] 7 UIKitCore 0x492ff0 -[_UIViewControllerTransitionContext _runAlongsideCompletions] 8 UIKitCore 0x492d1c -[_UIViewControllerTransitionContext completeTransition:] 9 UIKitCore 0xfcfee4 -[_UIAfterCACommitBlock run] 10 UIKitCore 0xb3f9c4 _runAfterCACommitDeferredBlocks 11 UIKitCore 0xb2ee90 _cleanUpAfterCAFlushAndRunDeferredBlocks 12 UIKitCore 0xb601e0 _afterCACommitHandler 13 CoreFoundation 0x99c40 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 14 CoreFoundation 0x94270 __CFRunLoopDoObservers 15 CoreFoundation 0x9480c __CFRunLoopRun 16 CoreFoundation 0x93ed0 CFRunLoopRunSpecific 17 GraphicsServices 0x3570 GSEventRunModal 18 UIKitCore 0xb302d0 -[UIApplication _run] 19 UIKitCore 0xb3584c UIApplicationMain 21 libdyld.dylib 0x1140 start

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
ppv94commented, Oct 25, 2021

I am using react-native : 0.63.4 I had update react-native-reanimated version from 1.13.2 to 2.2.3 and issue was resolved.

2reactions
jonra1993commented, Oct 22, 2021

I am using react Native 0.66.1 I had the same bug on all my components and third-party components using react-native-modal. As you mentioned before the solution, for now, is to install react-native-reanimated@2.2.3

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native Android app crashes in production
React Native Android Application is crashing in release mode. I am not able to discover the issue or a fix here are the...
Read more >
Performance Overview
A compelling reason for using React Native instead of WebView-based tools is to achieve 60 frames per second and a native look and...
Read more >
React crashes when modal is opened
Expected behavior Open modal Actual behavior Webpage crashes when modal is opened. With example code too. Resources (screenshots, code snippets etc.)
Read more >
IOS (React-native) app crashes in
My ReactNative app crashes in TestFlight but seems to work fine in the ... 42 GraphicsServices 0x000000019d679598 GSEventRunModal + 160 ...
Read more >
[Solved]-using @react-native-community/blur with ...
Coding example for the question using @react-native-community/blur with react-native 0.66.3 crash on android-React Native.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found