[Bug]: RNGestureHandlerModule.attachGestureHandler got 2 arguments, expected 3
See original GitHub issueDescription
After upgrading to v^2 from v1, release apk crashes with error
com.facebook.react.bridge.NativeArgumentsParseException: RNGestureHandlerModule.attachGestureHandler got 2 arguments, expected 3
at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:30)
at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:13)
at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:1)
at android.os.Looper.loop(Looper.java:214)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:8)
at java.lang.Thread.run(Thread.java:919)
Screenshots
Steps To Reproduce
- Upgrade rngh from v^1 to v2.1.0
Package versions
- React: 17.0.2
- React Native: 66.4
- React Native Gesture Handler: 2.1.0
Issue Analytics
- State:
- Created 2 years ago
- Reactions:23
- Comments:31 (6 by maintainers)
Top Results From Across the Web
RNGestureHandlerModule.attach Gesture Handler got 3 ...
and my problem is when I run the app and login in Home screen, I get this error: RNGestureHandlerModule.attach Gesture Handler got 3...
Read more >I have an issue with RNGestureHandlerModule ... - GitHub
I have an issue with RNGestureHandlerModule.attachGestureHandler was call 2 arguments but expects 3 arguments #1935.
Read more >GestureHandler - Expo Documentation
This library provides an API that exposes mobile platform specific native capabilities of touch & gesture handling and recognition.
Read more >has anyone managed to make @rainbow-me/animated-charts ...
After installing it, i got another error regarding SVG. ... "rngesturehandlermodule.attach gesture handler got 2 arguments expected 3".
Read more >react-native-gesture-handler - Bountysource
Hi ! I have a little issue on Android, onGestureEvent is not trigger when GestureHandler components is on a modal on Android. When...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I solved this problem. I try ‘expo install react-native-gesture-handler react-native-reanimated’ , and wrapped root view with GestureHandlerRootView
Same issue here when upgrading react-native-gesture-handler and expo with
$ expo upgrade
react-native-gesture-handler 2.1.0 expo 44.0.0 react native 0.64.3 react 17.0.1
Also wrapped my app in a
<GestureHandlerRootView>
component per gesture-handler installation instructions