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

630 questions
36
votes
5 answers

How to pass values to other component in React-Native-Router-Flux?

My code is: ... ... com1.js ... onPress={Actions.com2} I changed com1 to com2. But I need to pass values for the inputbox of Com1 to Com2. How can…
Eric Chan
  • 1,012
  • 3
  • 14
  • 29
20
votes
2 answers

React Native - why is this function executing?

I'm just starting to wrap my head around React Native and am using Redux for management of state, the NativeBase library for my UI components and react-native-router-flux is handling navigation between views. Currently I'm building a basic list…
17
votes
3 answers

Router state not being persisted in react-native with redux

I have the following redux configuration in react-native using react-native-router-flux and redux-persist. I want to retrieve the last current route on refresh, however the route stack is being overwritten on reload. This is the reducers/index.js…
jsdario
  • 5,155
  • 7
  • 37
  • 71
15
votes
1 answer

Synthetic scene stack (history) with React Native Router Flux

Is there any way how to synthetically define scene stack (history) with React Native Router Flux? Let's say I have an app, where the user can naturally navigate from A –> B –> C. I'd like to initiate app on scene C, which has the same history as…
12
votes
3 answers

React Native JSON.stringify cannot serialize cyclical structures

We're building a RN app (RN0.37), and we're running into an issue where when the app is run, we get a "TypeError: JSON.stringify cannot serialize cyclic structures". Nothing of relevance has changed on the API responses, and the issues went away…
Vicente Opaso
  • 121
  • 1
  • 1
  • 4
8
votes
5 answers

how to style react-native-router-flux?

I am using react-native-router-flux 4.0.0-beta.17 for my learning project. I need to customize the header. for instance the background color, the title alignment, etc. I couldn't find a good document about it. One of them had something like …
farmcommand2
  • 1,008
  • 1
  • 11
  • 18
8
votes
2 answers

react-native-router-flux warning: Key is already defined

The following is the Android log output when the React Native app is started for a while before disconnecting it from the Meteor (DDP) server by killing the Meteor server. Using console.log(" render") to indicate when the render function of…
Nyxynyx
  • 52,075
  • 130
  • 401
  • 707
8
votes
2 answers

React Native Router Flux: navigate from main scene to child

Version react-native-router-flux v3.35.0 react-native v0.31 I have few scenes. one of scenes have few sub-scenes. how can i navigate to one of sub-scenes from one of main scenes? Example :
7
votes
0 answers

How to implement react-native-material-bottom-navigation with React Native Router Flux

I'm trying to implement react-native-material-bottom-navigation component with React Native Router Flux. I've tried to use this component with RNRF but it doesn't work as I expect it should do it. I placed the BottomNavigation in each screen but…
7
votes
2 answers

How to set initial scene in react-native-router-flux with checking the state of the user?

How to set initial scene in react-native-router-flux based upon the user logged in state. Here is my code that I want to achieve this functionality. I want scene 2 if user logged in and scene 1 if user not logged in. I'm facing an issue with this…
Shubham
  • 902
  • 9
  • 29
7
votes
4 answers

Duplicate module name: react-native-vector-icons

When I install NativeBase and React-Native-Router-Flux in my react-native project I get this error: Failed to build DependencyGraph: @providesModule naming collision: Duplicate module name: react-native-vector-icons Paths:…
David Vittori
  • 950
  • 1
  • 9
  • 22
7
votes
4 answers

Customizing default navigation bar of react-native-router-flux

I am using react native router flux for navigation in my react native project. Router flux has a default navBar. Is there a way to customize the navBar? like, changing colour of text and background. I tried editing the file in…
Avikrit Khati
  • 71
  • 1
  • 1
  • 4
7
votes
1 answer

Nested Scenes in React Native with React-Native-Router-Flux

I'm using React-Native-Router-Flux (V. 3.37) to build an Android app and I'm trying to create nested scenes. Using the DefaultRenderer element I have been able to create a single nested scene, but I'd like there to be multiple and to be able to…
7
votes
1 answer

How to nest Scene and navigate with direction='vertical' in React Native Router Flux?

I would like to nest react-native-router-flux's and attempted the following, but I am not able to navigate to the from :
user3259472
7
votes
1 answer

Vertical scrollview conflicting with vertical navigation

In my react native app I'm using askonov's react-native-router-flux to display a scene with a vertical ScrollView widget. I've configured the scene to float up from the bottom and it appears that, by default, dragging down from the top closes the…
frank
  • 1,222
  • 9
  • 24
1
2 3
41 42