React-native-gesture-handler: RN v0.61.2 cause RectButton to crash the whole app without any stack trace

Created on 22 Oct 2019  Â·  3Comments  Â·  Source: software-mansion/react-native-gesture-handler

In development mode it's working fine as it should but this occur when I'm running react-native run-android --variant=release.

I haven't test the temp workaround (gestureHandlerRootHOC) but I believe this is critical

Most helpful comment

I added

import 'react-native-gesture-handler'

at top of index.js file as suggested in #320 and it works now 

All 3 comments

Same issue here. I use this module in conjunction with react-navigation-drawer. In dev mode my menu works as expected. In release mode each drawer interaction results in app crash. Before upgrading to RN 0.61.2 the menu worked fine.

I added

import 'react-native-gesture-handler'

at top of index.js file as suggested in #320 and it works now 

it's like a magic

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tallen11 picture tallen11  Â·  3Comments

enahum picture enahum  Â·  4Comments

wcandillon picture wcandillon  Â·  4Comments

rt2zz picture rt2zz  Â·  4Comments

nguyenhose picture nguyenhose  Â·  4Comments