Pages

Wednesday, March 6, 2019

How to Add Firebase to your Andriod App

  











Firebase is a mobile platform that helps you quickly develop high quality apps. Firebase is a most efficient way to handle data to integrate with your mobile app.In this session you will learn how to create android app with firebase .

Firstly you have to create android project in android studio. Here I try to create uber app.firstly you have to open android studio and create a android project.















Then you have to go firebase.google.com and click get started,then shoul need to add project and name your project go through the step by step.






















































after continue this process you need to register your app




















here you need to register your app firstly put your package name. so what is the package name ? you can find it your android project, here













Then you need put SHA-1 code  you can find that by clicking signing report in gradle folder.












after the finish register your then you have to download config file(json  file) and copy and paste to project->app in android studio.


































Then you have to add firebase dependencies to your android project.

 




Above dependency, we have to add android->gradle scripts->build.gradle(Project:UberApp) file. Like this



Next dependency,






This dependency add to the android->gradle scripts->buils.gradle(Module:app) like this











After  you complete this process you can develop your app integrate with firebase. I will make sure that will make easy everything of your application