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

How to use a variable in Actions.SCENE_KEY (react native router flux)

Forgive me if this is something simple i'm overlooking. I'm fairly new to programming, much newer to React and React Native. I'm building a simple navigation drawer. The drawer displays a Menu component which has a renderMenuItem(item) function…
StevenAntonio
  • 35
  • 1
  • 9
0
votes
1 answer

Video's work in debug version but in release version they don't show

I am using the module react-native-video which works just the way I want it in the debug version. But as soon as I assembleRelease it only shows a white screen instead of the video. Why doesn't it play in the release version? I think that somehow…
Sinan Samet
  • 6,432
  • 12
  • 50
  • 93
0
votes
1 answer

react-native-router-flux and replacing root controller

I'm trying to create a simple app for a blog. The blog has multiple categories, where each category has its own stories. My architecture is supposed to be pretty simple: a root controller which should display a list of stories, and on top I'll push…
Gilad Novik
  • 4,546
  • 4
  • 41
  • 58
0
votes
1 answer

TouchableHighlight with route in ScrollView not working

export default class Main extends Component { constructor(props) { super(props); } go_to_details(){ this.props.navigator.push({ title:'Wine Details', component : winedetails }) } render() { …
0
votes
3 answers

Remove back button for drawer page using react-native-router-flux

I've been trying to create an app to learn react native, which has a login interface where upon successful authentication, the user gets redirected to a homepage with navigation drawer - the standard for most mobile apps today. I've used…
0
votes
1 answer

Reset scene navigation in react-native-router-flux

Im having some issues using react-native-router-flux. My router is similar to this: ...
juangv
  • 111
  • 11
0
votes
1 answer

How to vertically center navbar elements and remove right navbar button?

I'm using react-native-router-flux and have a navigation bar set up. Currently, the navigation bar is styled to have shorter height than the default height, so the elements inside the navigation bar container sits low, close to the bottom of the…
0
votes
1 answer

Passing props / state in React-Native Navigator

React Native newbie here. I'm trying to build a simple React Native app for practice that is essentially just a multi-page contact form. I'm having trouble figuring out the best way to pass props / state to my child components when I'm rendering…
n8e
  • 373
  • 1
  • 3
  • 7
0
votes
2 answers

React + Redux set up for my react-native app. What is the correct way to handle connect?

I am building a simple react-native app using react-native-router-flux library. I have only 3 scenes: Home Search Favorites I have defined them as such in my app.js as such:
user1354934
  • 8,139
  • 15
  • 50
  • 80
0
votes
1 answer

React Native Router Flux (react-native-router-flux) - call action in reducer

i have a question about calling an action from a reducer or just to redirect to another scene. I want to redirect to a scene after the user is succesfully logged in. I have my action.js which use the 'redux-api-middleware' module: action.js export…
Yetispapa
  • 2,174
  • 2
  • 30
  • 52
0
votes
1 answer

react-native-router-flux: Actions.KEY doesn't work inside function that is passed to onPress

I have the following code: _renderMenuItem(name) { return ( this._onItemClicked(name) }> {name} ) } _onItemClicked(name) { …
Georgios
  • 4,764
  • 35
  • 48
0
votes
1 answer

React Native Router (react-native-router-flux) - more control in action triggering

we are using the React Native Router to manage the navigation. The render function of our router looks like this:
0
votes
1 answer

BackAndroid not working with react-native-router-flux

react-native-router-flux v3.30.0 react-native v0.31.0 constructor(props){ super(props); this.handleBackAndroid = this.handleBackAndroid.bind(this); } componentWillUnmount() { …
0
votes
2 answers

React Native Router Flux Redirect Scene on Login Example

I'm looking for an example of using React Native Router Flux to redirect the user to a new scene once authentication has been validated. Assuming I have defined my router component like so:
Steed-Asprey
  • 2,001
  • 7
  • 24
  • 30
0
votes
2 answers

react-native-router-flux doesnt route

i started a new react native project. Made a directory which as other "pages" like login or so. And i EXCATLY did everything in here: https://github.com/aksonov/react-native-router-flux/blob/master/docs/MINI_TUTORIAL.md But i all see is Login title…
1 2 3
41
42