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
5
votes
4 answers

React Native Router Flux not Showing Screen

I've a view which I'm trying to load via the react-native-router-flux module. However, it is not showing the screen on emulator. However, I can see my Components in the react-dev tools. I don't see any error but an Empty screen on Android…
5
votes
5 answers

How to change navigation bar title when view loads

I need to read one value and use it to set title in navigation bar. I am using react-native-router-flux and I also use redux. I navigate to view where I set language and fire redux action. All views receive new state and in render() method I can…
1110
  • 7,829
  • 55
  • 176
  • 334
5
votes
2 answers

Using react-native-router-flux vs nativebase

I read https://blog.nativebase.io/the-caveats-of-using-navigator-in-react-native-9547d99172ce#.cghvxk1mo using react-native-router-flux for navigator but when I using it with nativebase. Component of nativebase not active /** * Sample React…
5
votes
2 answers

How to combine react-native-router-flux with react-native-drawer

I tried to somehow connect those to examples: react-native-drawer with react-native-router-flux: following this documentation: https://github.com/aksonov/react-native-router-flux/blob/master/docs/OTHER_INFO.md How do I have to put the Custom Drawer…
5
votes
0 answers

react-native-router-flux nested tabs

I'm using react-native-router-flux and I'm trying to add a tabbar withing a scene inside a tab, like a double tabbar sort of thing. It works on iOS but it doesn't on Android
ClaraG
  • 322
  • 2
  • 14
4
votes
0 answers

How to mock the Scene key for Actions in react-native-router-flux?

I am trying to test if the button press will call the Actions.sceneKey(); I've tried mocking it using jest.mock( 'react-native-router-flux', () => ({ Actions: { sceneKey: jest.fn(), }, }) ); but when this code runs: test('enter…
4
votes
1 answer

React native Deep linking not working on iOS

I have set com.testApp://challenge/:id as deep linking URL. It's working fine if the app is closed and I try to visit this as a URL from the browser. Also, this is only happening for iOS. But it fails if App is open and I try to visit the above URL…
4
votes
2 answers

How to get icons showing in React Native Router Flux tab?

I'm building a react native (version 6.4.1) app using expo. I'm using react-native-router-flux as a navigator. For some reason I'm unable to get the tab icon to show. Here is my code: // Libraries and References import React, { Component } from…
Kat
  • 2,460
  • 2
  • 36
  • 70
4
votes
0 answers

Timeout of XXXms exceeded. For async tests and hooks, ensure "done()" is called

I do have a problem using detox, and I have absolutely no idea why. I know this kind of issue has been posted before but none of them really seem to answer my problem. I'll first explain it with details and then post some code &…
4
votes
3 answers

How to get previous scene name in react native router flux

I need to get a previous scene key in componentWillMount using react-native-router-flux to checkout what screen I come back from and make some action on condition. I looked through a lot but haven`t found an answer. Are there any ways to do that ?
Radha Kotecha
  • 43
  • 1
  • 5
4
votes
1 answer

Displaying components inside tabbar react-native-router-flux

I am using react-native-router-flux for navigation in my app. I have tab navigation in which I'd like to include some svg as tabicon. I use react-native-svg to deal with svg file. Here's my router code for my tabs: import Chrono from…
David Geismar
  • 3,152
  • 6
  • 41
  • 80
4
votes
1 answer

Open a specific screen of my application using the firebase password reset link

I'm working on password recovery with firebase on my application in React Native. It works in a basic way, a link is sent to the email and the user changes the password in a window that opens in the browser (this is the default firebase). What I…
4
votes
1 answer

React native router flux: TypeError: undefined is not a function (evaluating 'addListener')

Im working on a react native app using this principal dependencies: react native react native router flux react thunk expo I was working using this package.json: "dependencies": { "expo": "23.0.4", "humps": "^2.0.0", "install":…
4
votes
1 answer

Exit app when clicked back on home screen

I'm using react-native-router-flux for react-native navigation. I've 4 scene stack on my react-native app. When the app first boots up on Home screen, clicking on back button exits the app as expected. But when I navigate to any other screen and…
vikrantnegi
  • 2,252
  • 5
  • 24
  • 35
4
votes
0 answers

Multi-platform React-Native app uses routes and is multi-paged. How to introduce SafeAreaView for IphoneX?

I am working on a cross-platform app using react native which has routes and scenes described using router-flux and is multi paged. I am trying to implement SafeAreaView for IPhoneX but not having much luck with it. So far I added SafeAreaView tag…
aaltaf
  • 171
  • 1
  • 1
  • 4
1 2
3
41 42