React-native-gesture-handler: Does not work with React Native 0.61.5

Created on 4 Jan 2020  Â·  5Comments  Â·  Source: software-mansion/react-native-gesture-handler

Hello. I'm trying to use react-navigation@next with drawer navigation. But it does not react to any events.

Here's my dependencies list:
Знімок екрана 2020-01-04 о 14 13 02

I modified MainActivity according the installation guide:
Знімок екрана 2020-01-04 о 14 14 13

I even tried gestureHandlerRootHOC (this is src/index.ts which is just imported from index.js:

import { gestureHandlerRootHOC } from 'react-native-gesture-handler';

const createApplication = () => {
    ...

    const App = () => (
        <NavigationNativeContainer>
            <Provider store={store}>
                <Routes />
            </Provider>
        </NavigationNativeContainer>
    );

    return gestureHandlerRootHOC(App);
};

AppRegistry.registerComponent(appName, createApplication);

I can open the drawer programatically, but even then it does not react to any events.

Most helpful comment

I'm also experiencing the same issue, checked the documentation 👉 getting started, and it looks like it was last updated for RN version 0.57.2+.

Dunno if there's a PR out there somewhere, maybe?

Is there an ETA for the updates to this library to support auto-lInking? If no, what's the alternative to using this library??

All 5 comments

I'm also experiencing the same issue, checked the documentation 👉 getting started, and it looks like it was last updated for RN version 0.57.2+.

Dunno if there's a PR out there somewhere, maybe?

Is there an ETA for the updates to this library to support auto-lInking? If no, what's the alternative to using this library??

Update

Seems like version >= 1.4.0 works with auto linking!!

@iv47, which version exactly? 1.5.2 does not work for me.

Possibly related, I'm experiencing issues with version 1.5.3 and touchables. When making a straight swap as per the docs, the component children do not render with the Touchable* components and the Swipeable component

    "react": "16.12.0",
    "react-native": "0.61.5",
    "react-native-gesture-handler": "^1.5.3",

React Native 0.61.1 and React Native Gesture Handler 1.6.0 work ok for me.

Was this page helpful?
0 / 5 - 0 ratings