Questions tagged [wix-react-native-navigation]

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

269 questions
1
vote
0 answers

How do I add a bottom bar (NOT bottomTabs) with custom buttons for stack navigation in React Native Navigation (wix) v2?

I am using RNN2 (React Native Navigation) by Wix v2 and I cannot find any references to have a simple bottom bar to add some custom buttons. Here is my navigation set up, using bottomTabs (because I assume I can customize a bottom tab). …
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?
1
vote
0 answers

Adding UIView on top of react native navigation

I am using react-native-navigation and trying to add a native view on the top of everything. I initialized the Swift class in AppDelegate and call swift func: func showUp() { let window = UIApplication.shared.keyWindow! let rect =…
1
vote
1 answer

Props don't pass to custom top bar title components in React Native Navigation v2

I'm trying to pass props into a custom top bar title component. The below code works fine on iOS however the props don't get passed into the title component on Android. Am I missing something here? It seems to be related to this…
1
vote
0 answers

drawUnderTabBar property is not working

I am using react-native-navigation and drawUnderTabBar property does not show my screen background behind the tabs. I have tried placing the prop in navigatorStyle, appStyle, and tabsStyle to no effect
1
vote
0 answers

intermittent blank screens when restarting app, using React native navigation

I am using React native navigation V:"^1.1.334" to handle routing within my app. I am currently rendering a Login screen initially and then dispatching an action using redux/redux-saga to change the state depending whether the user is logged in or…
Alan
  • 1,134
  • 2
  • 13
  • 25
1
vote
0 answers

React Native Navigation Invariant violation

I've been in an issue after I decide to update my RNN dependency to use the new version v2. Also using the latest RN version 0.56. The problem is running on IOS, it Shows the red screen with this message: "Invariant Violation: Element type is…
AXSM
  • 1,142
  • 1
  • 12
  • 27
1
vote
2 answers

setOnNavigatorEvent callback not fired when switching tabs

I am working on an app powered by react-native@0.55.4 and react-native-navigation@1.1.474. Initially, there is only a login screen (using Navigation.startSingleScreenApp). When the user logs in I call Navigation.startTabBasedApp (one of the tab…
1
vote
0 answers

wix navigation drawer doesn't change screen

Basically I'm trying to navigate using the drawer , as follow : Drawer import React, { PureComponent } from 'react'; import { Navigation } from 'react-native-navigation'; import { List, ListItem } from 'react-native-elements'; const list = [ { …
1
vote
2 answers

iOS overrides the `navBarButtonColor` when using PNGs

Issue Description In my application I have a navigation bar search button set up as follows: static navigatorButtons = { leftButtons: [ { id: 'back-nav-button', icon:…
1
vote
1 answer

integrate react native app using react-native-navigation with existing iOS app

I have a React Native project which uses react-native-navigation.I have integrated this project with an existing native iOS application in swift.As the documentation of wix says, this line of code will show the react native app through the native…
1
vote
1 answer

Unable to run React Native app when integrating React Native Navigation

I followed the steps on the official Wix React Native Navigation documentation to integrate it on android. But after making the necessary changes, I'm getting this error when I try to run the app : FAILURE: Build failed with an…
1
vote
1 answer

How to display single screens before tab based screen in wix react native navigation

I am trying display splash screen,location screen when the app open which are basically singleScreenApp and once location is selected i want to push the user to the home screen which is TabBased screen with side drawers. For navigation i am using…
1
vote
1 answer

React native undefined is not a function

I am new to react native. I am trying to push to another page. But i am getting error saying Undefined is not a function(evaluating '_this2._goToProductListing('app.productListing'{title:item.title})') My code is this _renderContent(section, i,…
1
vote
1 answer

Change main screen of "SingleScreenApp" in React Native Navigation

I'm a newbie in React Native and I want to test react-native-navigation by wix I have a SingleScreenApp with a drawer. See below : Navigation.startSingleScreenApp({ screen: { screen: 'example.HomeScreen', title: 'Home', …