-
-
Notifications
You must be signed in to change notification settings - Fork 990
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React Native App crashes without error message when GestureDetector appears #2840
Comments
I think we have the same or similar problem here #2839 |
I believe the changes necessary to support RN 0.74 on the new arch cause it to crash on 0.73. Would it be possible for you to check if it still crashes for you on 0.74? |
Updating to |
I sought out this bug, because I've been running into a similar problem all this past week.
My specs are a bit different:
Is Expo complicating React-Native's response, you think? |
@Ever-It-Lazy I think your issue is a different one, as my 0.73 app already crashed on when a GestureDetector appeared and yours crashes when using one. Have you included the |
I've replaced my App.js with your "green screen" example code in my environment.
You appear to be correct: I must be dealing with something different. It seems similar, because my actual app began much like yours: a NativeStack with two screens. I guess I need to spawn a separate bug report for investigation. |
Description
I am coding a React Native App that uses
react-native-gesture-handler
.My initial setup where I first discovered the crash was a
@react-navigation/native-stack
NativeStack with two screens. When I show the screen with aGestureHandlerRootView
at its root and aGestureDetector
with a simpleGesture.Tap()
gesture, the app crashes without any logs.Steps to reproduce
I tried to simplify the app to see what causes the crash, so I changed my app to just the following code:
Now the app crashes on launch, so I think the crash is caused by
react-native-gesture-handler
.I'm using the new react-native architecture, installed all dependencies with CocoaPods, and included
import "react-native-gesture-handler";
at the top of myindex.js
file.Snack or a link to a repository
https://github.com/demenik/Muse
Gesture Handler version
2.16.0
React Native version
0.73.6
Platforms
iOS
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Fabric (New Architecture)
Build type
None
Device
Real device
Device model
iPhone 13 Pro (iOS 17.4)
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: