/RNFirebaseAuth

React native Firebase Login/Sign Up

Primary LanguageJavaScript

React Native Firebase Authentication

Firebase Authentication with React Native

This is a demo project with use of React Native to Authenticate Firebase User with different methods provided by Firebase.

This project was built using React Native Firebase.

How to use

  1. To run the project
npm install
npx pod-install
  1. Create a Firebase project

Firebase

  1. Add config object from Firebase Webapp in to /src/setup/firebase/FirebaseConfig.js
var config = {
apiKey: '',
authDomain: '',
databaseURL: '',
projectId: '',
storageBucket: '',
messagingSenderId: ''
};

Email and Password authentication with firebase

  1. Enable email and password authentication on Firebase.

Facebook authentication with firebase

  1. Create facebook app using facebook developer account.

  2. Add android and ios platform on Facebook app.

  3. Enable facebook authentication and set facebook app id and secrete key on Firebase.

Google authentication with firebase

  1. Create Android and ios platform from Firebase project setting.

  2. Download google-service.json and googleService-info.plist file and add both file project root folder.

  3. Enable google authentication on Firebase.

Phone number authentication with firebase

  1. Enable phone number authentication on Firebase.

Apple authentication with firebase

  1. Enable apple authentication on Firebase.

Setup Guides

  1. For setup on ios follow IOS Guide

  2. For setup on android follow Android Guide

To do

  • Add Authentication with Email and Password
  • Add Authentication with Facebook
  • Add Authentication with Google
  • Add Authentication with Phone number
  • Add Authentication with Apple
  • Add Authentication with Twitter