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
0 answers

React Native: Can only update a mounted or mounting component

I am trying to create a chat app using react native, firebase and react-native-router-flux. When I push data to firebase it's working well, but when I tried going back to the previous scene and trying to push another its showing warning Can only…
0
votes
1 answer

Pass Props From navBar Button Using React-Native-Router-Flux

I have a fairly fleshed out project using react-native-router-flux and I'm trying to pass an object through props. Normally I could call Actions.someKey({ someProp: object }) for the navigation, but I'm trying to navigate using the rightButtonImage…
MattyK14
  • 2,046
  • 2
  • 17
  • 29
0
votes
3 answers

undefined is not a function (evaluating 'fetch('apiurl')')

I am using below versions react-native-router-flux ^3.39.1 react-native 0.44.0 I expecting that will call API which I am using with "fetch" Have used componentDidMount but it's showing another error undefined is not an object (evaluating…
Tareq Aziz
  • 341
  • 1
  • 10
  • 25
0
votes
0 answers

Router reusable scene with redux reducer

I have a router import { Scene, Router } from 'react-native-router-flux'; and I'm using the following navigation:
PumpkinSeed
  • 2,945
  • 9
  • 36
  • 62
0
votes
1 answer

react native app pausing on white screen

I have been working on an app for the past couple days and everything has been working fine. However, today I was adjusting the positions of some buttons and going to extremes in terms of their margins in order to test some things. I stopped messing…
0
votes
2 answers

react-native-router-flux. How to change custom navBar programmatically?

I have a custom navBar in my scene: .... class NavBarCustom extends Component { constructor(props) { super(props); } onExitPressed(){ …
valerybodak
  • 4,195
  • 2
  • 42
  • 53
0
votes
3 answers

react native flux auto close side menu drawer when click menu to another scene

can someone help me how to close sidemenu react native flux when i clicked menu to another scene? i have try, but still cant close here my drawerlayout.js code import React, { Component } from 'react'; import Drawer from…
jack
  • 31
  • 1
  • 7
0
votes
1 answer

Failed to build DependencyGraph and Failed to build DependencyGraph

Version "react": "16.0.0-alpha.6", "react-native": "0.43.4", "react-native-router-flux": "^3.38.1" Everything worked perfect but after Install react-native-router-flux all are die give too much error. Failed to build DependencyGraph:…
MD Ashik
  • 9,117
  • 10
  • 52
  • 59
0
votes
1 answer

How should a NavBar communicate with a Component in React Native?

I am using 'react-native-router-flux' with my React Native app and I can't seem to figure out how my Custom Nav Bar should communicate with my component? I have the following code. NavigationRouter.js:
Kamilski81
  • 14,409
  • 33
  • 108
  • 161
0
votes
1 answer

React Native Pass data to another screen

I need to pass some data from one screen to another, but I don't know how to do it. I've searched and I read about Redux, but it is a bit complicated since I never used it and most of the tutorials are confusing for a newcomer. But if I could do it…
waze
  • 517
  • 1
  • 9
  • 20
0
votes
1 answer

Change react-native-router-flux scene using a variable

I am using react-native-router-flux for the navigation in my react-native mobile app. I want to call Actions.sceneKey() from drawer using a variable sceneKey which will be based on the store state. Let's say, there are 3 menus in…
NooB8374
  • 99
  • 12
0
votes
1 answer

trigger react-native-router-flux from presentational components or passing react native router flux functions to components as props

I am using react native router flux for my navigation in an app, I have container folder and a components folder in which I created a button component. This is my Register.js file in the container folder, I also have a Verify.js file which only…
Teddy McZieuwa
  • 347
  • 2
  • 4
  • 13
0
votes
1 answer

react-native-router-flux: onLeft scene

I'm trying to add onLeft for a scene employeeEdit scene when returning from the scene should the user not wish to make changes to the current selected employee that they'll be able to return to the employee list and the fields will be emptied when…
0
votes
1 answer

Calling (helper) function in redux

I'm using react-native-router-flux with react-redux and I think that I should ask this question here, correct me if I'm wrong. I have ActivityModal Container which I call to show up whenever there is an API call or similar thing where I want to show…
Mil
  • 113
  • 1
  • 11
0
votes
1 answer

undefined is not an object( evaluating ''_this.props.navigator.push")

I am trying to navigate to other page when the user login. But i am getting this error and i can't seem to figure out why. I am using working on mac. I tried using navigatorIOS too, but the problem won't go away. Please help. import React, {…