A template for setting up an authentication mechanism for a React Native application using Firebase. This template does not include any advanced authentication mechanism for now.
Visit https://reactnative.dev/docs/environment-setup and follow the instructions to set up the development environment for React Native.
Visit https://console.firebase.google.com and follow the instruction to create a new project.
Once you have initiated the Firebase project, copy the generated google-services.json
file under android/app
.
git clone https://github.com/theosev/rn-firebase-auth.git
Inside the project's directory run:
yarn install
Open two terminals and run the following command in the first one:
npx react-native start --reset-cache
And then
npx react-native run-android
Enjoy!
The MIT License (MIT)