I'll help guide you through the installation as it is a bit trickier to install compared to other navigators. If you are an expo user you'll need to detach your project.
Before starting, ensure you are using at least react-native 0.43 or greater and have yarn (or NPM) installed.
When you're ready, install the package by using
yarn add [email protected] or
npm install --save react-native-navigation.
Setting it up
Android/settings.gradle and add the following code at the end.
android/app/build.gradle and update the
buildToolsVersion. Also add the extra line in the dependencies.
Dive a little deeper into the
src/ folder and find
MainActivity.java and replace the whole file with this block, without removing your package line.
MainApplication.java and replace the entire file, again, leaving your package line.
Compile the project using
Now that you've got it all setup, you can follow this example to learn how to create a screen, navigate and other UI features.