Firebase: How to setup an app in Firebase

Vikash Kumar
3 min readSep 23, 2020

--

Firebase provides a bucket full of tools and services which can be accessed by iOS, Android, or a Web app. Popular tools provided by Firebase like authentication, storage, hosting, etc. let you focus on application logic and give the headache of setting these up on your own, a rest.
Let’s create a Firebase project and setup different apps in these very easy steps:

Step#1: Create a Firebase project

a) Go to Firebase Console.

b) Click on Add Project.

c) Give a name to your project and enable google analytics if you wish.

d) After creating the app, you will be redirected to your project console.

Step#2: Create an iOS app

a) Go to add an iOS app.

b) Give an iOS bundle ID to register the app.

c) Download the iOS config file into the root directory of your Xcode project and add it to all targets.

d) Add firebase SDK in your Xcode project.

e) Initialize firebase in your iOS app on startup.

Step#3: Create an Android app

a) Go to add an Android app.

b) Give an android package name to register the app.

c) Download the Android config file into your Android app module root directory.

d) Add firebase SDK to your Android project.

Step#4: Create a Web app

a) Go to add a Web app.

b) Give a nickname to register the app.

c) Add firebase SDK in web app.

--

--

Vikash Kumar
Vikash Kumar

Written by Vikash Kumar

A passionate coder, technology enthusiast, tutor and continually falling in love with JavaScript. Currently exploring latest JS frameworks and Flutter.

No responses yet