Easy authentication for your next React Native app.
🎧 Powered by Amplify
✅ Preconfigured, production tested authentication flow
✅ 2 Factor Authentication Enabled
✅ React Navigation
✅ Redux
✅ Amplify React Native
✅ Opinionated yet configurable
✅ Themeable
✅ Cross-Platform
⬜️ Social Logins / Federated Identities
⬜️ Optional intro / onboarding flow
- Clone project
git clone https://github.com/dabit3/react-native-auth-starter.git
- Change into react-native-auth-starter directory
cd react-native-auth-starter
- Install dependencies
yarn || npm install
- Configure AWS Amplify config in
index.js
by adding your ownaws-export.js
file in thesrc
directory. If you do not already have this file, continue to step 5
- Install AWSMobile CLI if not already installed and configured (for steps on how to configure AWSMobile CLI, see this two minute video)
npm i -g awsmobile-cli
awsmobile configure
- Create a new AWS Mobile Hub Project using the AWSMobile CLI
awsmobile init
- Enable User Sign In
awsmobile user-signin enable
awsmobile push