React-native-navigation: Third Party Libraries Support : react-native-gesture-handler & react-native-reanimated

Created on 20 Feb 2020  ·  10Comments  ·  Source: wix/react-native-navigation

some extra 3rd party Library support will be helpful

Support for native animation : react-native-gesture-handler & react-native-reanimated

React-native-navigation is the native implementation of the navigation system in the react-native ecosystem. Its main focus is performance (shifting weight of navigation from Js thread to native one).
currently, it supports Third-Party Libraries: Redux, react-native-vector-icons

react-native-gesture-handler & react-native-reanimated are Animation libraries, also doing kinda same like React-native-navigation in the animation domain. (shifting weight of Animation from Js thread to native one).
support for these native implementations ( react-native-gesture-handler & react-native-reanimated ) will be very helpful.

its purely a request, not a bug or issue. Entirely depends on contributors


Environment

  • React Native Navigation version: 5.0.0
  • React Native version: 0.61.5
  • Platform(s) (iOS, Android, or both?): both
  • Device info (Simulator/Device? OS version? Debug/Release?): Simulator
questiostack overflow

Most helpful comment

You can use those libraries with react-native-navigation.

All 10 comments

You can use those libraries with react-native-navigation.

I did not get any info how to add those , do you know any boiler plate git link or any docs which I can follow. Searched for 3 days , no solution till.

By the way thanks for replying.

react-native-gesture-handler will need to be installed differently as their doc points out. But react-native-reanimated can just be installed through auto-link so you won't have to do anything really.

As I heard that auto linking works in v5, but now v6 and still does not works

@muhammadwafa What is not working for you? Could you provide more specifics? From a fresh react-native project, running react-native link react-native-navigation will make the required native changes for you. I know the official document doesn't include that autolink but it has been there since V5 release. They are working on updating the documentation.

For me auto linking does not work, and when I link with react-native link react-native-navigation another error shows which why you linked manually

I've created a PR that fixes the autolink script https://github.com/wix/react-native-navigation/pull/5989. It will still complain that RNN is linked manually but you can ignore that error.

Thank you, and also please update the installation instructions as I am seeing it is not updated. both for IOS and Android

New documentation is on the way I believe. You can keep your eye on https://github.com/wix/react-native-navigation/issues/5959.

We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the react-native-navigation tag.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bdrobinson picture bdrobinson  ·  3Comments

charlesluo2014 picture charlesluo2014  ·  3Comments

zhanguangao picture zhanguangao  ·  3Comments

no23reason picture no23reason  ·  3Comments

EliSadaka picture EliSadaka  ·  3Comments