Open j-piasecki opened 10 hours ago
When there are no callbacks, RNGH doesn't detect that the callbacks aren't worklets (there aren't any) so it tries to send events to the UI runtime. This causes a redbox when Reanimated isn't installed.
Gesture.Native()
https://github.com/software-mansion/react-native-gesture-handler
2.21.2
0.76.0
Android, iOS, MacOS
None
No response
Yes
Description
When there are no callbacks, RNGH doesn't detect that the callbacks aren't worklets (there aren't any) so it tries to send events to the UI runtime. This causes a redbox when Reanimated isn't installed.
Steps to reproduce
Gesture.Native()
Snack or a link to a repository
https://github.com/software-mansion/react-native-gesture-handler
Gesture Handler version
2.21.2
React Native version
0.76.0
Platforms
Android, iOS, MacOS
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes