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

Wix react native navigation v2 gesture (swipe problem)

While navigating to different screens from side menu, I hid the side menu using following code: Navigation.mergeOptions('Drawer', { sideMenu: { left: { visible: false, } } }); The problem using this approach was change in…
Habi
  • 161
  • 1
  • 9
0
votes
1 answer

Is there a way to prevent the user pressing the back button on their device from popping the current view from the stack?

I'm using React-Native-Navigation from Wix (version 2) to setup navigation in my React Native app. I'm using the sideMenu layout with the center section being a stack. When the user selects one of the side menu items the selected view is pushed onto…
0
votes
1 answer

reactNativeNavigation.Navigation.startSingleApp is not a function

I'm building a React Native app and using React Native Navigation to move between screens. Something happened, some files were deleted and it seems like my xcode project settings were wiped. When I boot up my app using 'npm run start' and…
0
votes
2 answers

How to remove top tab from the screen in react native?

I'm using wix react native navigation,I can navigate to a screen using Navigation.events().registerAppLaunchedListener(() => { Navigation.setRoot({ root: { stack: { children: [{ component: { name: 'myproject.AuthScreen', passProps:…
Arjun sr
  • 161
  • 2
  • 10
0
votes
0 answers

In React Native navigation when using bottomTabs app stops

Below is my code for bottomTabs that is not working, don't worry my component names are correct, I have checked many times. The only thing is when below code loads my apps stops working , by the way i am testing it in android (tried in simulator as…
Eddy sapata
  • 121
  • 1
  • 10
0
votes
1 answer

Pass data from side-menu to main scree in 'react-native-navigation'

Is there a way to pass data from side-menu to central (main) screen in wix-react-native-navigation? I have some calculations in the central screen and a switch in the side-menu to change units from inch to mm. Now I want side-menu to pass data to…
0
votes
0 answers

Hide Android Navigator shows a border

Im using react native navigation V1 and i set my nav bar transparent to true, in my IOS emulator looks good but in Android emulator show me something like a border, and i don't know how hide or remove this section. //add this to change top bar…
0
votes
1 answer

react-native-navigation update child data but remain parent data

I having problem when I push to next screen. Lets say from screen A(product details screen) -> screen B(product details screen) Currently I am successfully move from screen A to screen B. But the problems is when i navigate back to screen A, the…
0
votes
1 answer

RNN [v2]: How to properly switch from stack to bottom tabs

I'm using setRoot() to switch from stack navigation to bottom tab navigation and vice versa. what i noticed is every time i call setRoot, my components get recreated (constructor is called again, this.props shows a different roottag, etc) Now when i…
user1184526
  • 31
  • 1
  • 3
0
votes
1 answer

tabBarBackgroundColor not workig for topTabs react native navigation Wix

I am using react native navigation version 1.1.486 by wix. I am using topTabs and want different colors for navbar and tapbar, but the properties I a passing is not working. I am sharing my code here:- import { Navigation } from…
Sandip Nag
  • 968
  • 2
  • 18
  • 34
0
votes
2 answers

Custom Tab Navigation By Wix React Native Navigation

I am new to React Native. and for navigation purpose I am using react native navigation library by wix version 1.1.486. For tab navigation I have achieved this:- Is there any way to lift this tab bar from bottom to top? The code responsible for…
Sandip Nag
  • 968
  • 2
  • 18
  • 34
0
votes
0 answers

wix React-Native-Navigation V1 transparent background not working as expected

I'm trying to set the screen background to transparent using this navigator property: screenBackgroundColor: 'transparent' In addition, I changed the root view background color to Green in XCode like this: self.window.backgroundColor = [UIColor…
James
  • 1
  • 1
0
votes
2 answers

Can't display icons in tab navigation wix react-native-navigation

I can't get the tabs icon to render in iOS simulator. Navigation.startTabBasedApp({ tabs: [ { label: 'Home', screen: 'Home', // this is a registered name for a screen icon:…
0
votes
0 answers

Cannot find symbol: method getPackages() while using react-native-navigation

I have set up a new RN project, it was working perfectly fine until I added react-native-navigation. I have followed all the steps provided here Even after trying a number of solutions I found, nothing seems to be working. Complete stack trace …
0
votes
1 answer

When starting React Native app, I'm error that functions are not valid as React child

I'm trying to start my App with react-native-navigation and persistStore from redux persistStore. I'm getting warning that functions are not valid as React child.This may happen if you return a Component instead of from render. Is there any…
SAdnan
  • 57
  • 1
  • 1
  • 12