Questions tagged [react-native-router-flux]

react-native-router-flux is a routing package for react native based on new React Native Navigation API. It helps users to define all the routes in one central place and navigate and communicate between different screens in an easy way.

Official repository : link

621 questions
0
votes
1 answer

React native router flux and react native camera issue while taking multiple pictures

I am using react native router flux and react native camera. I recently had this issue. Project scenario I have a SwipeListView, where swiping right will, give an option to select camera. User select camera , Actions.showCamera(); takes the…
0
votes
0 answers

ReactNative Flux TabBar Router with Status Bar Alert

I am trying to use react-native-router-flux with react-native-statusbar-alert. This work's without any issues until I get to TabBar. Consider the following code (Of mine). return (
0
votes
1 answer

How to directly go to the non-first scene of the sibling scene in React Native with react-native-router-flux

In the following code snippet, how to directly go to completeInfo from login without executing the home? Thanks.
0
votes
1 answer

React Native - do not stop on page,

I'm new to React Native. I'm trying to send parameters between pages through 'Actions' from react-native-router-flux. 'Actions' is called on 'onPress' method of 'TouchableOpacity'. But the things is that, when I do not give any parameter to…
Ali Zeynalov
  • 2,867
  • 8
  • 30
  • 54
0
votes
1 answer

RNRF - Component is hiding behind NavBar

Component Init is hiding behind Navigation Bar after implementing Drawer to NavBar. Without Drawer I could easily add some paddingTop to Route (root) component and the problem would get solved.
Ank
  • 168
  • 1
  • 2
  • 11
0
votes
1 answer

How to navigate based on a condition in RNRF react native

I would like to navigate to new screen only if login is successful, I tried using {Actions.HomeScreen} inside if condition but it does not do anything. here is the code: async login() { const res = await api.getLoginResult(); const status=…
0
votes
1 answer

In React Native (and Ignite), how do I create a ListView (inside a tab) that navigates to another container when a list item is clicked?

I have just created an Ignite starter project. I am partially familiar with the tech used in this great boilerplate code, but some aspects are quite new to me. In the project is a ListView that is navigated to on pressing a button. Once inside the…
0
votes
1 answer

Does `react-native-router-flux` allow for parent components which render children?

I might have missed something in the docs here. Does react-native-router-flux allow for a parent scene with a component, which would render the child scenes through it? In code speak, for this routing:
0
votes
1 answer

Get Action stack length on react-native-router-flux

I am stuck with a problem, where I need stack length on BackAndroid Press before I decide, whether I want to pop the scene or not. Is there a way to get stack length? BackAndroid.addEventListener('hardwareBackPress',…
Namit Singal
  • 1,506
  • 12
  • 26
0
votes
2 answers

NavigationExperimental vs React-native-router-flux

I'm new to React Native (coming from web React), and I'm figuring out how navigation works with React Native. My first step was to check Facebook's guide about navigation: https://facebook.github.io/react-native/docs/navigation.html. It shows me…
jeanpaul62
  • 9,451
  • 13
  • 54
  • 94
0
votes
2 answers

React-native-router-flux custom navbar renders at the bottom of the view

As stated if I use a custom navBar in react-native-router-flux, and style it with NO position stlyle tag, then the navBar renders at the bottom of the screen... So, I tried setting style with position: 'absolute', top: 0, right:0, left: 0 and my…
0
votes
1 answer

React-native-router-flux: is there an OnEnter method?

I have spent my entire morning reading the docs, but can't find simple OnEnter() method, like in react-router. I'm using the latest version. I need to fetch some resources when entering some specific Scene. Any idea?
Stanley Luo
  • 3,689
  • 5
  • 34
  • 64
0
votes
1 answer

What's the equivalent of window.reload() in react-native?

Is there a way to completely refresh an entire scene in react-native without updating the state or forcing a re-render? For example: refreshButton(){ Actions.refresh() } P.S: I am using react-native-router-flux as my navigator. I did try…
Alex
  • 61
  • 1
  • 5
0
votes
2 answers

react native flux router with react-native-camera

I'm trying to preview the image I get in the next scene but the transition doesn't happen when I click on the camera button. import { Actions } from 'react-native-router-flux'; import Camera from 'react-native-camera'; export default class PageTwo…
0
votes
0 answers

Changing scene with Action.___() in router-flux runs constructor and ComponentWillMount but doesn't display the new Scene

I have a project that is set up with router-flux and I can't get my scene change to work. As mentioned in the title the constructor for the scene I'm trying to switch to is run as well as componentWillMount but the view does not change to the next…
Moriya
  • 7,750
  • 3
  • 35
  • 53