December 2019
Intermediate to advanced
474 pages
10h 3m
English
To set up the authentication flow we described earlier, you'll use the React Navigation package again. Previously, you used the different types of navigators from React Navigation, but not SwitchNavigator. With this navigator type, you can only display one screen at once, and you can navigate to other screens using the navigation prop. SwitchNavigator should be the main navigator of your application and other navigators such as StackNavigator can be nested inside it.
Adding authentication to the React Native application involves performing the following steps: