Questions tagged [react-native-navigation]

Use this tag for questions related to the React Native Navigation library that provides a complete native navigation solution for React Native apps.

React Native Navigation provides 100% native platform navigation on both iOS and Android for React Native apps.

For more info see github project

https://github.com/wix/react-native-navigation

1903 questions
7
votes
3 answers

How to remove screens (unmount component) from react native drawer-navigator on log out?How to reload Components Data?

I am using react navigation v3 in my app, I use stack navigator inside drawer navigator ,On the click of logout I navigate to login screen with clearing storage of user, But whenever I login again , Main component dose not call componentWillMount or…
Hrishi
  • 1,210
  • 1
  • 13
  • 25
7
votes
1 answer

Hide parent's navigation header from the nested navigator

I'm developing my first react native app. I've an issue with the nested navigations in the app. I've the following navigations: Main App Navigator : createStackNavigator Authentication Navigator : createStackNavigator Bottom Bar Navigator :…
7
votes
6 answers

How goBack screen in test with detox

I make automatization react native test with detox, It has the next screen sequence A -> B -> C and i wish to go back to the screen B <- C. Is there a solution for this?
7
votes
2 answers

Blank white screen on android using react-native (release only)

My app is running fine on the emulator in debug mode. When I tried to use a signed APK on a device or run it in release mode on the emulator using: react-native run-android --variant=release It just gives a blank white screen and does not load. I…
6
votes
1 answer

React Navigation stop back button behaviour on bottom bar

Hey I am using the createBottomTabNavigator() from React Navigation and I have a custom topbar which I update with my own states. The problem is when I click on a Tab the listener gets called with every navigation so the topbar gets into the wrong…
6
votes
3 answers

Remove Header in React navigation v6

Remove Header in React navigation 6 with custom style here is code foe stack navigation
6
votes
1 answer

React Native Expo / Deep Linking / Universal Link

I am building app using react native, Expo SDK - 41 & react-native-navigation - v5 that serves items to the users How can I create links to be shared between users through social media apps like "WhatsApp" or "Facebook" as messages For Example: I…
6
votes
0 answers

Not getting route.params when using deep linking

I'm trying to implement Deep Linking on my APP, I'm following expo-cli react-native-navigation documentation about this subject. After basic configuration I can't get params from route.params from any of the links I set. This is an example of my…
Rezpo
  • 119
  • 5
6
votes
1 answer

Rendering react navigation screens inside a scrollview

I am building a react native app where I want to add a scrollview as a wrapper to all the UI screens. I have wrapped the Stack.Navigator in a ScrollView but the content is clipped at the bottom of the screen, there is no content visible after the…
6
votes
1 answer

How to set Icon size in react-native-navigation bottom tab bar

I just start to learn RN, but the docs in https://reactnavigation.org/docs/tab-based-navigation/ did not show how to set a tabBarIcon's size, I tried to add an attribute in like the pic. If I manually set the size={38}, it works.…
Marvin_MMM
  • 63
  • 1
  • 4
6
votes
3 answers

Got both 'component' and 'children' props for the screen 'Search'. You must only pass one of them

I work on a react-native app and this project used react-navigation 4.x to navigate around the app. I recently upgraded the project to 5.x of react-navigation and while trying to upgrade I ran into a problem. The problem is that my project has both…
6
votes
0 answers

How to check if modal is open

I have a modal component in the stack tree. Is there a way to check if the modal is currently open? I'm using react-native-navigation version 2.18.5
Eskel
  • 795
  • 1
  • 8
  • 21
6
votes
3 answers

react-navigation 3 reset in nested stack

Im try to understand how to reset in nested stack this my code const AuthStack = createStackNavigator( { Welcome, Login, Register, ConfirmationCode, }, { initialRouteName: 'Welcome', …
Manspof
  • 598
  • 26
  • 81
  • 173
6
votes
3 answers

'ReactNativeNavigation/ReactNativeNavigation.h' file not found

Note: Please make sure to comment as to what I should mention to improve this question instead of thumbing down, I was able to successfully set up React Navigation with expo for another project, and would love to get RNN up and running in this…
Joseph K.
  • 1,055
  • 3
  • 23
  • 46
6
votes
1 answer

BackHandler is not working in react-native side-menu when using react-native router-flux

I am working on react-native to develop a sample application. Here I got an issue when I was using backHandler in the react-native side-menu component. Actually, the side menu contains more pages! But when clicking the Android back button in the…