Questions tagged [react-native-navigation-v2]

85 questions
0
votes
2 answers

React Native Navigation - bottom tabs and drawer

I'm trying to add bottom tab bar in my jhipster ignite application, which uses react-native-navigation v2. Screens are registered like: Navigation.registerComponentWithRedux(LAUNCH_SCREEN, () => LaunchScreen, Provider, store) Where e.g.: export…
0
votes
1 answer

Ask for permission in specific screen in android

For react native application navigation I use react-native-navigation v2 here I've created navigation with bottomTabs. Here is the navigation handler import { Navigation } from "react-native-navigation"; import { width, height } from…
0
votes
1 answer

Recommendation needed for drawer in react-native-navigation

This is my first attempt in react-native project, Does react-native-navigation have drawer inbuild? If so please share the documentation link please? Am confused to use react-navigation or react-native-navigation. My requirement is all about…
0
votes
1 answer

How can I pass the navigator prop from react-native-navigation v2 to my splash screen via Navigation.setRoot

I am trying to migrate from react-native-navigation v1 to react-native-navigation v2. I am struggling to move from Navigation.startSingleScreenApp to Navigation.setRoot When I switch from Navigation.startSingleScreenApp (v1) to Navigation.setRoot…
0
votes
0 answers

How to hide the bottom tab navigator in subscreens ( TabBarVisible = true is not working)

I am using createBottomNavigator to set the tabBarBottom in my app. I have many screens and subscreens. For example, I have 5 main screens and for each screen I have subscreens. I need to hide the bottom bar in some of the subscreens. It not…
sejn
  • 2,040
  • 6
  • 28
  • 82
0
votes
1 answer

How to fix 'No such module 'ReactNativeNavigation' error in swift ios project

I just implemented the ReactNativeNavigation library to my ios project using a swift AppDelegate file and when I build the project I get the error: 'No such module 'ReactNativeNavigation' I have tried to install a previous version of the package and…
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

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

sideMenu is not working in react-native-navigation version 2?

I am new in world of react native and i want to show side menu from left in my application and i am using react-native-navigation to do so but i am facing sum problem with this firstly i set the navigation root like below :- Navigation.setRoot({ …
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
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
2 answers

How navigate to a page from side menu in react native navigation Wix V2

I am new in react native. I want to navigate to a screen from side menu.I have used react-native-navigation Wix V2 library. I would be thankful if some one could help me with a simple example.
anna
  • 95
  • 3
  • 16
0
votes
1 answer

How I could add an icon to my sideMenu in react-native-navigation v2?

I've read a lot of comments about it, but I didn't resolve my problem. So my navigation code looks like this export function pushScreens() { Navigation.setRoot({ root: { sideMenu: { id: 'sideMenu', left: { visible:…
foxer bixer
  • 107
  • 1
  • 2
  • 6
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…