Example React Native App With Firebase as the backend
I strongly recommend replacing the current Firebase integration with https://rnfirebase.io/ as it covers issues with draining the users battery. In this example we are using the Web App firebase configuration, this is made possible using Expo.
- Create a project in Firebase
- Enable email authentication
- Enable Firestore Database
- Create a new web app and get the Firebase configuration (Credentials)
- Update the credentials accordingly in the .env file
Install EXPO CLI
# Install the command line tools
$ npm install --global expo-cli
Install dependencies
$ expo install
Run expo
$ expo start
Signing in
Signing up
The session is persisted, if the app is close you will still be logged in