Skip to content
React Native - User Authentication Flow with React Navigation 4
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.expo-shared
assets
src/screens
.editorconfig
.gitignore
.watchmanconfig
App.js
app.json
babel.config.js
package.json
readme.md

readme.md

React Native - User Authentication Flow with React Navigation 4

Aim of this repository is to make basic understand of how the user authentication works. You can find more details on my blog post.

Authentication Flow Gif

Requirements

Navigate the project directory and run npm install. After downloading the required packages run npm start.

Please don't forget to update the API codes to /src/screens/auth/SigninScreen.js

const response = await fetch(`https://c282a758.ngrok.io/api/login`, {
    method: 'POST', 
    headers: {
        'Accept': 'application/json',
        'Content-Type': 'application/x-www-form-urlencoded'
    }, 
    body: formData
})
You can’t perform that action at this time.