How to do it...

Let's see how we can use Firebase Remote Config within the scope of our application. What I will do is to test if the Facebook login will affect my user base in any way, and if such functionality will help me get more users for my application. Doing something like this in the past would require me to create a complete build, and test and finally upload my application to the App Store—a tedious and painful process just to remove a single line of code.

Besides, we won't have the option of changing our options on the fly, so let's see the steps needed to do so.

First, here's a glimpse of my Android application—it supports two authentication methods, email, and Facebook:

Figure 23: Android application before adding Firebase Remote ...

Get Firebase Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.