Questions tagged [wix-react-native-navigation]

Questions about Wix's React Native Navigation package (react-native-navigation on npm).

269 questions
0
votes
1 answer

React functional HOC component with Hooks, copying static methods

I have a functional HOC component that uses hooks. I am using Wix Native Navigation and most of my screen are using static methods. But static methods are not copied over when using HOC: When you apply a HOC to a component, though, the original…
0
votes
3 answers

React-Native: Conditional App launch in wix/react-native-navigation - v1

I am using wix/react-native-navigation - v1 in my react native project and I want to launch my App based on a condition as follows: Launch App Read credentials from storage (AsyncStorage) If credentials found, then Start App with Home…
Gagandeep Singh
  • 827
  • 1
  • 7
  • 11
0
votes
1 answer

static passProps not changing on Navigation.push

I am using react-native-navigation v2 from Wix, trying to push a screen to an existing stack. Here is my push code: Navigation.push(this.props.componentId, { component: { name: 'chapel.search' } …
0
votes
1 answer

Wix React native navigation tab button goes out of bound on navigating back to screen

Pushing to new screen with tabbarHidden set to true and poping back to the screen, tabbar is animated from the left and it looks sloppy. Is it a bug or there is prop i can pass to prevent it from animating. Expected behaviour is that Tab bar icons…
0
votes
1 answer

v2 Wix React-native-navigation: how to actually implement side Menu with bottomTabs?

I am having a bit of trouble implementing the sideMenu to the following code: (see the startTabs). I call this after "login" is clicked on my root screen. The root screen looks like the following: Navigation.setRoot({ root: { stack: { …
0
votes
1 answer

Error while setting up RNN2 with react-native 0.59

ERROR:native-navigation' has variant 'reactNative51Debug' selected, but the module ''app'' depends on variant 'reactNative57Debug'. I get the above error while setting RNN2 in android. I am using react-native version 0.59.3.
Akhil S
  • 145
  • 14
0
votes
0 answers

How can I dismiss a tab based app upon logout?

I'm currently looking to dismiss a tab based app as a modal (swipe down) upon logout. setStackRoot switches screens but the behavior doesn't seem too user friendly.
0
votes
0 answers

Requiring unknown module "581".If you are sure the module is there, try restarting Metro Bundler

I am trying to do simple navigation using react-native-navigation. But When I just import navagations.js file in homepage.js I am getting the error Requiring unknown module "581".If you are sure the module is there, try restarting Metro Bundler. You…
0
votes
1 answer

How to replace nested stack with other component in react-native-navigation v2?

I'm trying to build a dynamic wizard with react-native-navigation v2. I say dynamic because the number of steps may vary depending on which options the user selects. I was thinking to use nested stacks, so the layout of my app would look something…
0
votes
0 answers

React Native Navigation - npm run android build error on React Native v0.59

Detail: "react-native": "0.59.0" "react-native-navigation": "^2.13.1" I already followed the installation instructions on here. But when I do command line npm run android or react-native run-android I got errors like this Task…
0
votes
1 answer

How to use redux-persist for selcted item API call

I am making an app in react-native for android using redux and using Wix's react-native-navigation to navigate between screens. I am storing a list of all data fetched from API into the redux store. I am using redux-persist to display list present…
0
votes
1 answer

wix react native navigation single screen app in portrait mode on Android

I am developing a React Native App for iOS and Android using wix/react-native-navigation. I am using react-native@0.55.4 react-native-navigation@^1.1.478 While researching how to force an Android App into portrait mode I found tons of answers…
0
votes
1 answer

React Native Navigation - Bottom tabs overflow

How do we add a More tab menu (like iOS overflow menu) in bottom tab bar in V2 React-native-navigation (wix)?
ninja
  • 43
  • 8
0
votes
0 answers

How can I tell when a component is the root of its stack in react native navigation?

I am using react-native-navigtion and have 4 tabs. Tab 1 is the home screen, tabs 2-4 have a navigation stack in each. Tabs 2-4 are made up of a re-usable component so, there is no clear root component. When in the root screen of tabs 2-4, I want…
0
votes
2 answers

How to give gradient color to topBar wix's react-native-navigation V2

I am using Wix's react-native-navigation V2. I want to give gradient color to the topBar. I have installed react-native-linear-gradient successfully. But I am not getting how to give gradient color to topBar. Following is the code of pushing the…