This project shows different ways you can persist user authentication in your React-Native app using Redux and React Context-API
The sample shown on react-navigation official website can be found here React native authentication.
To get started
-
clone the repo
-
cd into any of the folder
-
Install dependencies
$ npm i
- Start application
$ npm start
Link to tutorial here https://medium.com/@holy_abimz/persisting-user-authentication-in-a-react-native-app-778e028ac816