Book Image

Firebase Cookbook

By : Houssem Yahiaoui
Book Image

Firebase Cookbook

By: Houssem Yahiaoui

Overview of this book

Do you feel tired just thinking or even hearing about backend technologies, authentication or the tedious task of deployment? Firebase is here to change the way you develop and make your app a first-class citizen of the cloud. This books takes a solution based approach by providing you recipes that would help you understand the features of Firebase and implement them in your existing web or mobile applications. We start-off by creating our first Firebase application and integrating its services into different platforms and environments for mobile as well as web applications. Then we deep dive into Real-time Database and Firebase Storage that allows your users to access data across various devices with realtive ease. With each chapter you will gradually create the building blocks of your application from securing your data with Firebase Rules to authenticating your users with O-Auth. Moving along we would explore modern application development techniques such as creating serverless applications with Firebase Cloud Functions or turning your traditional applications into progressive apps with Service workers. Finally you will learn how to create cross-platform mobile apps, integrate Firebase in native platforms, and learn how to monetize your mobile applications using Admob for Android and iOS.
Table of Contents (15 chapters)
14
Firebase Cloud FireStore

Integrating Firebase analytics into Android/iOS applications

You've probably heard about Google analytics before. It's the best friend of developers and marketers when it comes to getting metrics and gathering non-intrusive data about their application's users. For a long time, having such a powerful mobile platform was a dream, but now Firebase is offering that by providing you with both a very beautiful yet very informative dashboard that you can find over at your Firebase project console. Here's how our current Android Firebase powered application will look over at Analytics:

Figure 1: Firebase Analytics based on application section.

It will hold up everything from active users, to a total awesome map showing you where your users are coming from, to even the kind of mobile devices they are using, as well as the OS version. Also, with such integration, we...