Firebase Implementation On Android Apps

learn how to implementation firebase to you android project for android app for real-time database and crashlist and many more after reading this article you successfully added firebase into you android project

Firebase Implementation On Android Apps
(Logo Credit : Firebase and Android)

Firebase Implementation

Firebase Implementation is not that easy but if you follow this steps clearly then after that you successfully implenented firebase to your Android app


Don't know about firebase Read This Article For More Info Click Here


Adding Firebase to Android App


Firebase offered various type of online service such as Storage, online processing , realtime database. authorization of users etc. Firebase is Developer by Google so google away provide great platforms to users and with full security. Firebase is also provide analysis feature so you can analysis you app data to improve your apps and services.
To simplify, it can be said that Firebase is a mobile and web application development platform. Firebase provide services that a web application or mobile app might require. Anyone can easily implement firebase to their web app or mobile app and it soo easy.


There are two way to add Firebase to any Android App: 


Using Firebase Assistant in Android Studio

Follow Below Setps to add Firebase in Android Project in Android Studio

1. Use Latest Version on android Studio (Update Android Studio to latest Version)

2. Open Firebase Console and create New Project by click Add Project

3. After Create Firebase project open Android Studio and click on Tools in Upper left corner

4. Then Click on the Firebase option in the drop down menu as shown on this image

5.After Clicking on Firebase A menu will appear on the right side of screen. it show all service that firebase provide then choose the desired service

6.Then click on Connect to Firebase option in the menu of desired service

7.Then a new popup open for adding dependencies of your service by clicking on the Add [YOUR SERVICE NAME] to the app option


Congratulation You Successfully Added Using Assistance Firebase into you Android App

After that you can open firebase console and run you android app in emulator to check you app is now connected to you firebase account 

Note : please login you firebase account in android studio to add firebase into android app if you account now log in on android studio you are now about to connect you app with firebase 
Adding Firebase Manually to android app is little bit hard for beginners 


Follow this steps to add Firebase Manually

1. Create a firebase project
Create a project by clicking on create project in the firebase console

2. Fill the necessary details in popup like your project id if auto generate but you can change it choose you nearest analytics location and nearest cloud firestone location and the click on create project

3.Now add this project to the android app
Click on the Add firebase to your android app option on the starting window.

A prompt will open where to enter the package name of the app.
Now the app is connected to the Firebase. Now all the cloud based as well server based services can be easily used in the app.
Now the app will be registered with firebase.

4.the SHA1 certificate, can be given, of the app by following steps:
Go to android studio project
 ↳ gradle
   ↳ root folder
     ↳ Tasks
       ↳ Android
         ↳ signingReport
           ↳ copy paste SHA1 from console

5.Now download the google-services.json file and place it in the root directory of the android app.

6.Now add the following in the project.

Adding the sdk in the project.
Add the following code to the PROJECT-LEVELbuild.gradle of the app.
buildscript { 
  dependencies { 
    classpath '' 

Add the following code to APP-LEVEL build.gradle of the app.
dependencies { 
  compile '' 

// Add to the bottom of the file 
apply plugin: '' 

7.Now Sync the gradle by clicking on sync now.

8.After adding the above code(sdk), run the app to send the verification to the Firebase console.


Again Congralutaion you successfully added firebase manually to you android project