Firebase Remote Config – Add and Update Value

Firebase Remote Config is a cloud service that lets you change the behavior and appearance of your app without requiring users to download an app update.

When using Remote Config, you create in-app default values that control the behavior and appearance of your app. Then, you can later use the Firebase console or the Remote Config REST API to override in-app default values for all app users or for segments of your user base. Your app controls when updates are applied, and it can frequently check for updates and apply them with a negligible impact on performance.


  1. Go to Add Project or Select Existing Project

  2. Open left menu Remote Config, then click button Add your first parameter.
  3. In example you want to add this string parameter
    KEY_NAME                   | VALUE ———————————————————- banner_ad_unit_id              “ca-app-pub-96679765 . . .”
    interstitial_ad_unit_id      “ca-app-pub-32864000 . . .”
  4. After all parameter added you must click button publish to make that parameter ready to consume by your client.


Configure Firebase for Android

Step 1: Create a Firebase project

Before you can add Firebase to your Android app, you need to create a Firebase project to connect to your Android app. Visit Understand Firebase Projects to learn more about Firebase projects.

Create a Firebase project

Android - How to get the Google Services Json

Android - How to get the Google Services Json

  1. In the Firebase console, click Add project.
    To add Firebase resources to an existing Google Cloud project, enter its project name or select it from the dropdown menu.
  2. Click Continue.
  3. Click Create project (or Add Firebase, if you’re using an existing Google Cloud project).

Step 2: Register your app with Firebase

To use Firebase in your Android app, you need to register your app with your Firebase project. Registering your app is often called “adding” your app to your project.

Android - How to get the Google Services Json

Android - How to get the Google Services Json

  1. In the center of the project overview page, click the Android icon Android or Add app to launch the setup workflow.
  2. Enter your app’s package name in the Android package name field.
    Find your app’s package name in your module (app-level) Gradle file, usually app/build.gradle (example package name: com.yourcompany.yourproject).
    Be aware that the package name value is case-sensitive, and it cannot be changed for this Firebase Android app after it’s registered with your Firebase project.
  3.  Enter other app information: App nickname

Step 3: Add a Firebase configuration file

Add the Firebase Android configuration file to your app:

Android - How to get the Google Services Json

  1. Click Download google-services.json to obtain your Firebase Android config file (google-services.json).
  2. Move your config file into the module (app-level) directory of your app.

Obtain Youtube Channel ID and Playlist ID

If you want to develop android app or website to view data from youtube you can read this documentation

There are three part you must prepare before you obtain data from youtube API

  1. Goolge Youtube API Key
  2. Channel ID
  3. Playlist ID

Now we only talking about Channel ID, and Playlist ID, you can read my previous post how to get Google Youtube API Key

# Channel ID is identifier for your youtube channel, we can get description, list of playlist, banner by using this ID{YOUR_API_KEY}&forUsername={USER_NAME}&part=id

In example I use this channel, I search from youtube and get this channel url

We can know the USER_NAME from this channel is boyceavenue, then you can get Channel ID by open this url

The result will be like picture above, from that result we know that channel with username boyceavenue have Channel ID = UCgc00bfF_PvO_2AvqJZHXFg

# Playlist ID is identifier for list down all video owned by a channel,  to get this ID you only need to change prefix form Channel ID, from UC to UU

Channel ID = UC..............
Playlist ID = UU..............

In the end of url you can see Playlist ID = UUgc00bfF_PvO_2AvqJZHXFg

Channel ID and Playlist ID is looks similar but its different when your ChannelID start with UC your PlaylistID should be start with UU
Channel ID =  UCgc00bfF_PvO_2AvqJZHXFg
Playlist ID   =  UUgc00bfF_PvO_2AvqJZHXFg

Get Google Youtube API KEY

1. Go to :

2. Login into your google account

3. You can create new project or user existing project

4. Select library menu,


Please enable YouTube Data API v3 API feature.

5. Last step is to generate API Key. Select Credentials > Create Credentials > Api Key > Select Browser Key


leave Key Restriction None

DONE, you got your API key for Google Youtube