Questions tagged [react-native-navigation-v2]
85 questions
1
vote
1 answer
Wix react-native-navigation v2 dynamic tab
I have used react-navigation for my app. But, i want to convert to wix [react-native-navigation] v2 to improve performance of my app.
However i have problem with dynamic tabs in topTabs or bottomTabs.
I have List Item Screen, Detail Item Screen.
In…

Sinh Phan
- 1,180
- 3
- 16
- 36
1
vote
2 answers
react native navigation performance
I have the Issue with React Native Navigation V2 that there is quite a long waiting time until I can view the next screen.
And I read that it seems to be normal, since react native has to render all components of the new Screen.
So I was wondering…

Anh Tuan Nguyen
- 429
- 1
- 6
- 18
1
vote
1 answer
How a proper RNN V2 structure looks like?
I been trying to make a proper RNN V2 tree, but it's just doesn't make sense to me... given this example:
root: {
bottomTabs: {
children: [
{
component: {
…

Istvan Orban
- 1,607
- 3
- 18
- 34
1
vote
1 answer
Determine what screen is on?
Ok, so I have two screens, when qrscanner reads the qr it navigates to InfoScreen, and thats all fine, but the problem is that even if the screen is InfoScreen, if camera was pointed to qr code it still scans.
My question is how can i check on what…

FatBoyGebajzla
- 159
- 1
- 2
- 10
1
vote
0 answers
React-Native-Navigation v2 - Avatar/Image/Component as bottomTab Icon
I was curious if it is possible to use a component in place of the icon property in bottomtab of react-native-navigation-v2.
Example:
bottomTab: {
text: 'Profile',
icon: ,
…

Jordan Hanson
- 11
- 2
1
vote
2 answers
React Native Navigation - startTabBasedApp - only load tab if clicked on
When using startTabBasedApp(params) in React Native Navigation (by Wix), all of the tabs load at once.
Is there a way to make it so that only the initial tab loads? And then only after clicking on another tab does that tab load?

Oatmeal
- 39
- 4
1
vote
1 answer
How to use react-native-navigation along with Create React Native App?
I couldn't find any information about how to install/use react-native-navigation with the Create React Native app project.
Anyone have experience with it?
Thanks.

Samuel Castro
- 291
- 1
- 3
- 5
1
vote
1 answer
can I use react navigation and redux while keeping them separated?
I am trying to write a react native application making use of both redux and react native navigation. However, I do not actually want to save my navigation state in redux. So I just want to keep them separated from each other. I currently have the…

user3832583
- 371
- 4
- 19
1
vote
0 answers
Set a state variable to every page
On every page, I do this function:
import * as sync_helper from '../utils/sync';
componentWillUnmount() { this._isMounted = false; }
componentDidMount() {
this._isMounted = true;
sync_helper.getLocal().then((l) => {
if(this._isMounted)
…

bryan
- 8,879
- 18
- 83
- 166
1
vote
1 answer
react-native-navigation-v2 disabledOpenGesture and fixedWidth of sideMenu
I am using the module "react-native-navigation": "^2.0.2334".
I want to use block sidMenu opened by swiping and use fixedWidth
I was able to "disabledOpenGesture" option at V1 but I don't know how to apply this option to V2.
I tried like this but…

이세진
- 11
- 3
0
votes
1 answer
RN Refresh parent screen after navigating back from particular screens
I have main screen A. From A it's possible to navigate B, C, D screens.
In most cases I need to refresh screen A on focus event, only A shouldn't be refreshed when navigating back from D.
How can I implement this scenario in react native using…

ZHSX
- 41
- 4
0
votes
1 answer
How to jump from one screen to another and clear all other screen from stack in ReactNative?
I have an application where I have a tab screen and few screens.
From tab I navigate in order screen 1 -> screen 2 -> screen 3 .
From screen 3's button click, I want to open screen - 4 i.e listing screen and on backpress I want to navigate agin tab…

hemi_p
- 43
- 9
0
votes
1 answer
wix react-native-navigation change tab animation
Is there any way to animate the transition between screens with bottomTabs layout in react-native-navigation?
expected behavior:
react-native: 0.61.1
react-native-navigation: 3.2.0
{
bottomTabs: {
id: 'BottomTabs',
children: [
…

Mike Antoniadis
- 657
- 7
- 12
0
votes
1 answer
setDefaultOptions VS. static options VS. options in setRoot
Using Wix's react-native-navigation, what's the difference between setting layout options using these methodologies?
Navigation.setDefaultOptions({
topBar: {
background: {
color: 'red'
}
}
});
vs.
static options(passProps) {
…

Jim
- 1,988
- 6
- 34
- 68
0
votes
1 answer
React native on double backpress shows white screen
When I press application back button twice faster it shows blank screen.
its not redirecting any where just shows white screen.
handleBackPress() {
this.props.navigation.goBack(null);
return true;
}

Avishkar Patil
- 220
- 4
- 14