Category Archives: Firebase

Firebase is a mobile and web application development platform developed by Firebase, Inc. in 2011, then acquired by Google in 2014. As of October 2018, the platform has 18 products, which are used by 1.5 million apps.

Firebase evolved from Envolve, a prior startup founded by James Tamplin and Andrew Lee in 2011. Envolve provided developers an API that enables the integration of online chat functionality into their websites. After releasing the chat service, Tamplin and Lee found that it was being used to pass application data that were not chat messages. Developers were using Envolve to sync application data such as game state in real time across their users. Tamplin and Lee decided to separate the chat system and the real-time architecture that powered it. They founded Firebase as a separate company in September 2011 and it launched to the public in April 2012.

Firebase’s first product was the Real-time Database, an API that synchronizes application data across iOS, Android, and Web devices, and stores it on Firebase’s cloud. The product assists software developers in building real-time, collaborative applications.

In May 2012, a month after the beta launch, the company raised $1.1 million in seed funding from venture capitalists Flybridge Capital Partners, Greylock Partners, Founder Collective, and New Enterprise Associates. In June 2013, the company further raised $5.6 million in Series A funding from Union Square Ventures and Flybridge Capital Partners.

In 2014, Firebase launched two products. Hosting and Authentication. This positioned the company as a mobile backend as a service.

In October 2014, the company was acquired by Google. A year later, in October 2015, Google acquired Divshot, an HTML5 web-hosting platform, to merge it with the Firebase team.

In May 2016, at Google I/O, the company’s annual developer conference, Firebase introduced Analytics and announced that it was expanding its services to become a unified backend-as-a-service (BaaS) platform for mobile developers. Firebase now integrates with various other Google services, including Google Cloud Platform, AdMob, and Google Ads to offer broader products and scale for developers. Google Cloud Messaging, the Google service to send push notifications to Android devices, was superseded by a Firebase product, Cloud Messaging, which added the functionality to deliver push notifications to both iOS and web devices. In January 2017, Google acquired Fabric and Crashlytics from Twitter to add those services to Firebase.

In October 2017, Firebase has launched Cloud Firestore, a real-time document database as the successor product to the original Realtime Database.

Source: WikiPedia

Firebase authentication – Google

In our app we can register and login using email, and Facebook. For the email authentication we need to provide a name and password. In case of Facebook we can sign-in only by clicking on the Facebook Button without any password. Similarly we can do this using Google authentication.

In this chapter we are going to talk about how we can register and login using the Google authentication.

Continue reading Firebase authentication – Google

Follow and like us:

Firebase authentication – Facebook

In the previous chapters we have implemented lots of features. In our app, we can register and login in using email and password, we can logout, and reset the password. But there are other possiblities to accelerate the authentication process. Using Facebook we can login and register with one click. In this chapter we are going to implement this feature.

Continue reading Firebase authentication – Facebook

Follow and like us:

Firebase authentication – Reset password

In our Firebase authentication app, which is written in Kotlin, we can already register and login using email and password, and we can log out also. As extra we have a nice splash screen as well. But what if we don’t remember our password? In this case we should somehow reset it and get back the access to our account.

In this chapter we are going to implement the reset password feature.

Continue reading Firebase authentication – Reset password

Follow and like us:

Firebase authentication – Log out

In the previous chapters of the Firebase authentication android tutorial, which is written in Kotlin, we successfully implemented the email authentication. The user can register and login, but something is still missing. The logged in user still can’t log out from the app. We are going to implement this feature in this chapter.

Continue reading Firebase authentication – Log out

Follow and like us:

Firebase authentication – Check user logged in and delay

In the last chepters of the Firebase authentication Android tutorial we have talked about how can we implement the Firebase registration in the app using email. Then in the very last chapter we have refactored the code to use Koin. Before the implementation of the login part using email and password, we gonna add some code to the SplashActivity::class.
When the user opens the app, then in this activity we have to check if the user logged in. Next to this we gonna have a few seconds delay to show longer the Splash screen for the user.

Continue reading Firebase authentication – Check user logged in and delay

Follow and like us: