Require cycle: node_modules/react-native-gesture-handler/index.js
Project initiation

"react": "16.6.3",
"react-native": "0.57.8",
"react-native-gesture-handler": "^1.0.12",
"react-navigation": "^3.0.9",
Having same issue
same here, but there's no error like this in few days ago
"react": "16.6.1", "react-native": "0.57.5", "react-native-gesture-handler": "^1.0.9", "react-navigation": "^3.0.0",
Having same issue at to day @@
I check back to the react-navigation documentation and try what they're said
adding those to MainActivity.java
import com.facebook.react.ReactActivity;
+ import com.facebook.react.ReactActivityDelegate;
+ import com.facebook.react.ReactRootView;
+ import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView;
public class MainActivity extends ReactActivity {
@Override
protected String getMainComponentName() {
return "Example";
}
+ @Override
+ protected ReactActivityDelegate createReactActivityDelegate() {
+ return new ReactActivityDelegate(this, getMainComponentName()) {
+ @Override
+ protected ReactRootView createRootView() {
+ return new RNGestureHandlerEnabledRootView(MainActivity.this);
+ }
+ };
+ }
}
but still didnt work
This is caused by metro https://github.com/facebook/metro/issues/287
Fixed by https://github.com/kmagiera/react-native-gesture-handler/pull/391/files
Fixed by https://github.com/kmagiera/react-native-gesture-handler/pull/391/files
when new version will be released ?
Seems like it was released two days ago: https://github.com/kmagiera/react-native-gesture-handler/releases/tag/1.0.14
Seems like it was released two days ago: https://github.com/kmagiera/react-native-gesture-handler/releases/tag/1.0.14
how to upgrade the package sir?
If you're using npm, you should be able to run npm install react-native-gesture-handler@latest --save. This should also work for other packages. However, if this package is a dependency of another package, I think you have to wait for the devs of that other library to update their deoendencies first.
RNGH is backward compatible and I believe that there's no package which requires some exact version so feel free to update to 1.0.15
RNGH is backward compatible and I believe that there's no package which requires some exact version so feel free to update to
1.0.15
I've update to 1.0.15 but still got same error, any suggestion?
Updating to 1.0.15 fixed my issue 👍
I've update to 1.0.15 still having same error
Version 1.1.0 also has this error
Problem still exists with version 1.6.1 with iOS v13.4.1