Is a quicker way to start with Expo + Firebase projects. It includes:
- navigation using
react-navigation
4.x.x - Firebase as backend for email auth
- uses Firestore to store user data
- handles different field types in forms
- handles server errors using Formik
- Login/Signup form built using Formik & yup
- uses
react-native-elements
for UI elements - show/hide Password Field's visibility ๐
- uses Context API & checks user's auth state
- based on Expo SDK
35.x.x
- implement Password Reset Screen
- Clone this repo
- to install dependencies:
npm install
oryarn install
- rename the file
example.firebaseConfig.js
tofirebaseConfig.js
- and make sure to add your own Firebase config in this file:
// Rename this file to "firebaeConfig.js" before use
// Replace all Xs with real Firebase API keys
export default {
apiKey: 'XXXX',
authDomain: 'XXXX',
databaseURL: 'XXXX',
projectId: 'XXXX',
storageBucket: 'XXXX',
messagingSenderId: 'XXXX',
appId: 'XXXX'
}
Main screens:
- Login
- Signup
- Forgot password
Expo uses Firebase Web SDK and does not support all Firebase services such as phone auth. If you are looking forward to use those services, please use react-native-firebase
in a vanilla react native app.
Here is more on what and why Expo cannot support complete Firebase integration
๐ If any of the code used in this you found useful to your project:
Happy Coding! ๐๐