Questions tagged [wix-react-native-navigation]

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

269 questions
3
votes
1 answer

React Native Navigation view list of screens

I'm currently using the react native navigation library. I'm having trouble debugging certain issues and I want to know : how do you view the stack of screens that are currently pushed? when you have cascading modals, how do you view their order…
Coder Lam
  • 395
  • 1
  • 3
  • 13
3
votes
1 answer

Application not registered error when using react-native-navigation with redux

I am seeing an error saying "Application is not registered" when trying to initialize react-native app using react-native-navigation's 'startSingleScreenApp' function. library versions: react-native: 0.54.0, react-native-navigation: 1.1.407 I have…
3
votes
1 answer

react-native-navigation how to detect current screen inside `shouldComponentUpdate`

I'm using react-native-navigation and using redux for state management. when I go to screenA to screenB with "push" method and the screenA won't unmount. this will cause unwanted rerenders and previously in react-navigation I used…
3
votes
1 answer

How to reset navigation stack each time Tab Bar item is selected?

So, i need to reset navigation stack each time a tab is selected from the tab navigation. Right now it works like this: User is on Tab A -> Opened New Screen (i.e. News) on Tab A -> Selected Tab B -> Selected Tab A and came back to last opened…
Ziya
  • 324
  • 3
  • 14
2
votes
0 answers

React Native Navigation: I renamed two files to swap them and the code. Example renamed 1 to 2 and 2 to 1. React native navigtion messing up now

React Native Navigation: I renamed two files to swap them and the code. React native navigation messing up now. I had two files Register 4 and Register 5. I then renamed Register 4 to Register 5 and Register 5 to Register 4. React native navigation…
2
votes
1 answer

One root view for react-native-navigation

I'm facing a problem where i need to put a component on top of all the app but react-native-navigation structure is preventing me from implementing this, there's no root component that's containing the app. For example: If i wanted to add a…
2
votes
1 answer

Is there a way to stop re-rendering after navigation in React Native Navigation?

In React Navigation, screens seem to persist even after changing the screen. However, in React Native Navigation, all the screen appear to be refreshed after getting focused again, making it hard to persist data and lowering the user experience…
2
votes
0 answers

'RNNRootViewProtocol.h' file not found when build ios

does anyone know how to fix this issue when building ios: 'RNNRootViewProtocol.h' file not found React Native version: 0.59 React-native-navigation version: 2.26.5
2
votes
1 answer

use react-native-spalsh screen with react-native-navigation on Android

I upgraded react-native-navigation from v1 to v6. It used to be possible on v1 to use both react-native-spalsh-screen and react-native-navigation (on Android) – is it still possible? Not sure how to handle it on the MainActivity.java (in the past, I…
ofer2980
  • 464
  • 5
  • 26
2
votes
0 answers

Wix react-native-navigation shared element transition is not working

I have been trying to use wix react native navigation shared element transition animation. But it is not working and there doesn't seem much help out there regarding this. Screen 2 is getting pushed in stack but there is no shared element…
2
votes
1 answer

Error in react-native-navigation after updating MainApplication.java

I installed react native navigation and followed the steps. Works on iOS. Doesn't on android. I get this error when I run react-native run-android, after updating "MainApplication.java" file: Task :app:compileDebugJavaWithJavac FAILED Deprecated…
2
votes
2 answers

How to hide back button on ios with wix react native navigation

I have been stuck on this problem all morning. I have read multiple GitHub issues and StackOverflow posts and nothing has worked. I want to remove the blue back button in the top left of the below pic. I have noticed I am having trouble customizing…
2
votes
2 answers

React native : How to open modal or action sheet on clicking a button tab in wix react native navigation

How can I open a modal/ Actionsheet by clicking on a bottom tab of tab-based application using wix react native navigation v2? Currently, I am using the following package and version : react-native : "0.59.8" react :…
2
votes
2 answers

set tabbar icon color in react-native-navigation

Is there any way to dynamically set a new tab bar icon AND color? In my app, I want the icon for the CHAT tab to be changed to red when a new message arrives. Steps to Reproduce / Code Snippets / Screenshots this.props.navigator.setTabButton( …
2
votes
1 answer

react-native-navigation showModal Custom Size

I use wix react-native-navigation. Navigation.showModal open fullscreen size. Is it possible to open the custom size? where do I find all the properties list about navigation layouts? Documentation is too meager...