HRankit e49ab468ce Added Instructions for setup of Firebase-Auth (#30063)
* Added Instructions for setup of Firebase-Auth

* Update index.md
2018-12-21 08:22:59 -08:00

1.3 KiB

title
title
Setting up Firebase Authentication

Setting up Firebase Authentication

Firebase Authentication is an easy way for mobile, web authentication. Firebase provides us with a default UI but can be used with customized UI too. It is a hassel free way to perform Auth operations in your android app.

Prerequisites

  1. The latest version of Android Studio
  2. Have connected with Firebase manually or via Firebase Assistant (See Connecting to Firebase).

It is recommended that you do this so as to not be confused by partial instructions related to this in the docs mentioned below.

Setting it up with Android Studio

Once you have added firebase to your project, you need to perform additional steps such as adding the relevant dependencies and so on. You can find out more information and sample code from the documentation.

Add Gradle Dependencies

In your app-level build.gradle file, add the following

dependencies {
    implementation 'com.google.firebase:firebase-auth:16.0.4'
}

Resources

  • You can learn more from the codelabs offered by Google.