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)
Firebase Cloud FireStore

Implementing sending/receiving app invite in Android/iOS

Generally, people tend to share the things that they find interesting, from a cool cats video to an article about Firebase--maybe this is just me. Furthermore, since sharing is widespread, people nowadays tend to expect to find App invite functionality within apps. It'll be a win-win relationship because if users have the application within their ecosystem, that would be great as they navigate directly using deep linking; otherwise, they'll install it, so we're winning new leads with each message.

The message format can be diverse. We've two options email and SMS. With SMS, the message will contain a link by the Firebase dynamic links; this link generated will be preserved and saved over installation time in the memory. This means that even if the users don't use the application installed on their...