Questions tagged as 'react-navigation'

0
answers

How to disable the back button on certain React Navigation routes with React Native

Hello, I'm working with React Navigation and I'm having problems with the "back" button on certain screens. My navigator is as follows: import React from 'react' import { FluidNavigator } from 'react-navigation-fluid-transitions' im...
asked by 14.10.2018 / 23:36
1
answer

How to disable React Navigation Drawer on specific routes

Hello, I'm creating an application that should not display Drawer on specific routes like login, registry, etc. Currently my file looks like this: import React from 'react' import { FluidNavigator } from 'react-navigation-fluid-transitions' i...
asked by 11.10.2018 / 17:28
1
answer

react-navigation v2 how to send component by params

I'm trying to send a component to a new route via params, but the way I'm doing it does not work. Does anyone know to tell me my error? Component A this.props.navigation.navigate('ModalInput', { input: { component: &...
asked by 15.10.2018 / 22:37
1
answer

How to prevent a React Native application from returning when you click the BackButton using React Navigation

Hello, I'm creating an application in React Native, and for the navigations I've been working with the React Navigation plugin. The structure of my project looks like this: import React from 'react'; import { View, Text, Button } from 'react-n...
asked by 01.11.2018 / 21:55
1
answer

Login React Native + Firebase with error using "SwitchNavigator"

error (undefined is not a function (near '... (0, _reactNavigation.SwitchNavigator) ...')) when compiling application. > I need to log in to the "Main" screen. import React from 'react' import { StyleSheet, Platform, Image, Text, View }...
asked by 30.11.2018 / 11:44
1
answer

Redirection to screen "Home" after validating login - React Native + Firebase

I need to implement in the code below the command for once the user is validated to be redirected to the "Home" screen. The changes I made did not solve my problem. I can create the user, save in Firebase but when I log in I can not direct to th...
asked by 30.11.2018 / 13:38
0
answers

Error when using navigate (React Native)

I have my seuginte main: <View style={AppStyle.container}> <View style={AppStyle.topBar}> <HeaderBar/> </View> <AppStackNavigator/> <View style={AppStyle.botBar}> <BottomBar/...
asked by 16.10.2018 / 15:39
1
answer

How to inhibit the "back" button in a React Native application using react-navigation-fluid-transitions

I'm creating a mobile app that uses react-native as the basis. To make the transition between screens and to have a better user experience, I'm using react-navigation libraries and react-navigation-fluid-transitions ....
asked by 04.10.2018 / 17:59