Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
44 views

I have a scenario where i want to move to a screen B on click of a deeplink but i want to add a Screen A to the stack so when the user goes back he is navigated to Screen B from Screen A, also while ...
Keshav Khetan's user avatar
0 votes
1 answer
864 views

In my React Native application using Expo, I have a tab bar with multiple screens. I want to add a button in the middle of the tab bar that doesn't navigate to any screen but instead triggers a custom ...
Usman's user avatar
  • 1
0 votes
1 answer
35 views

Context I saw lots of similar questions but no one was a valid answer to my problem. This is my navigator structure: MainNavigator (mode="modal", headerMode="none") - TabNavigator ...
Isacco Bosio's user avatar
1 vote
0 answers
255 views

I had a problem when my app was killed (closed) and I received a notification, I clicked on that and wanted to navigate to some specific screen. I am using expo sdk 49 and expo-notification. I read ...
AnhTp's user avatar
  • 11
0 votes
0 answers
64 views

how do i hide the "Navigate up" from the back button when using react-navigation? It happens when i keep the back button pressed. Navigate up Image "@react-navigation/native": &...
izy's user avatar
  • 21
0 votes
1 answer
897 views

I'm tyring to set types for useTheme() from @react-navigation/native. I have setted a theme type before for styled-components, but I can't find a way to set the theme type for react navigation theme. ...
Nilton Schumacher F's user avatar
1 vote
0 answers
222 views

Previously with React Navigation v4, I have use route.params.scrollToTop() to pass the function I want to call when tabBarOnPress. The function content is not related to scrollToTop. After upgrading ...
user2555's user avatar
3 votes
3 answers
638 views

I have a nested tabs navigator inside a stack navigator. When I navigate from Tab Screen A to Stack Screen B, B's useEffect is called, all good. When I navigate from Stack Screen C to also Stack ...
user avatar
1 vote
2 answers
1k views

I have upgraded from react-navigation 5 to 6: - "@react-navigation/bottom-tabs": "^5.10.6", - "@react-navigation/material-top-tabs": "^5.3.15", - "...
Florin Dobre's user avatar
  • 10.4k
0 votes
1 answer
804 views

Is there a way to add a Background Image to the bottom navigation bar I tried using tab bar component but it did not help. The code that I am using is //Navigation Options <Tab.Navigator ...
Ashok Naik's user avatar
1 vote
0 answers
130 views

I'm trying to use the compatibility helper createCompatNavigationProp from https://reactnavigation.org/docs/5.x/compatibility/ but I don't know how to use it. This is the function if it helps: https://...
Angel Luis's user avatar
0 votes
0 answers
118 views

Hi I want to add a function to record the value of input and want to use it in all components and input is in another component and I want to pass a function from App.js to that component but it does ...
Aryan Rajput's user avatar
0 votes
1 answer
765 views

I want to build a npm package for react-native. Before I get started I have some question in my mind: Should I start with expo or bare react-native? If I start with expo, will it run successfully on ...
Nikhil Barot's user avatar
1 vote
2 answers
2k views

The Code: I'm using React Navigation 6 with the following hierarchy: MainTabNavigator HomeStack HomeScreen (HomeStack initial screen, contains a "Pay" button) OtherScreen ...
Okkult's user avatar
  • 81
0 votes
1 answer
1k views

I am trying to make the background of NavigationContainer transparent for making the items under bottom to be visible , but it is not working in my case. Please do help if you know how to achieve this ...
Anu's user avatar
  • 1,742
5 votes
0 answers
2k views

We are currently using react-navigation (5.6) in our react native app. We use a BottomTabNavigator as the root navigation. const BottomTab = createBottomTabNavigator() The individual screens under ...
LearnToLive's user avatar
0 votes
0 answers
130 views

I want to be able to use an image on multiple screens in react native. For example, when the home screen and settings are loaded I want to use an image on both screens, so that it avoids a re-render ...
Matheus Santana's user avatar
4 votes
1 answer
3k views

I want to get the name of the route that is in focus now, but the getFocusedRouteNameFromRoute function always returns "undefined" in the last route. My code is like this: return ( <Tab....
putu eka mulyana's user avatar
0 votes
1 answer
2k views

I have some trouble to pass a value in a nested navigator with React-Native Navigation v6. I've tried many ways to get the value, but I always get an undefined value. I just started react-native about ...
SpicyyRiice's user avatar
0 votes
1 answer
1k views

Have any ideas how can I get correct params ? I getting this URL and I want navigate to correct screen within correct params. URL -> /p-einhell-drill-screwdriver-123456/ I want to take form that ...
Zuka Gaprindashvili's user avatar
1 vote
1 answer
928 views

I'm using the MaterialTopTabNavigationProp, and need to change the selected tab programmatically. I just tried using navigation.navigate or navigation.jumpTo, everything works fine, but the changing ...
limdev's user avatar
  • 865
4 votes
0 answers
661 views

I use react-navigation 5 and having issues because the params shows older values. ScreenList.js const handleFirstUser = () => { const userDetail = {'name': 'First User'}; ...
Wede Asmera Tseada's user avatar
0 votes
0 answers
790 views

I'm facing a weird issue with my react-native application which i'm not able to solve. I use react-navigation in my app and @react-navigation/bottom-tabs for the bottom tab navigator. While developing ...
Stevetro's user avatar
  • 1,953
1 vote
1 answer
5k views

I would like to render material top tab navigator created with createMaterialTopTabNavigator() from react-navigation inside a custom header component. Indeed, my header is a gradient, so I need to ...
gigeos's user avatar
  • 307
14 votes
2 answers
16k views

I just installed react navigation version 6 and i received below error Attempt to invoke interface method boolean com.swmansion.reanimated.layoutReanimation.NativeMethodsHolder....
James's user avatar
  • 1,134

1
2 3 4 5
15