Android Firebase tutorial
What is FireBase?
FireBase is a Google Cloud Platform which can be used as Backend-as-a-Service(BaaS). Using FireBase you don’t need to manage your own server, your API’s or your data storage at your end. All these functionalities are managed by FireBase and these are easily customizable and easy to implement.
What FireBase can do?
1) Real-time Database
Most database requires HTTP calls to get your data sync to your database or fetching the data from the database, which kind of a slow process.
When you are connecting to the FireBase Real-time database then you are connecting to the WebSocket which is not a normal HTTP connection. WebSockets are much faster than the HTTP. Firebase sends data as soon as it’s updated. When you make some changes to your data, the data will get reflected instantly in your database.
FireBase Storage provides it’s own level of security rules to protect your storage bucket from external hack. Or you can provide your own security rules engine to your stored data by applying authentication or privileges to selected files or data.
Authentication or Security is the most crucial part of any application either a web application or a mobile application. For that developers have to search for the external authentication library or they make there own authentication system using advanced encryption/decryption techniques.
Firebase auth has a built in email/password authentication system. It also supports OAuth2 for Google, Facebook, Twitter and GitHub.
Firebase includes an easy-to-use hosting service for all of your static files. It serves them from a global CDN with HTTP/2.
There are many more features that FireBase supports are-
1) Crash Analysis
3) Dynamic Links
Which we will learn about them as we proceed furture in our tutorials.