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.

SOURCE : https://firebase.google.com/docs/remote-config/

  1. Go to https://console.firebase.google.com/ 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.

DONE

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 https://developers.google.com/youtube/v3/

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

https://www.googleapis.com/youtube/v3/channels?key={YOUR_API_KEY}&forUsername={USER_NAME}&part=id

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

https://www.youtube.com/user/boyceavenue

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

https://www.googleapis.com/youtube/v3/channels?key=YourAPIKeyShouldBeHereXXXXXX&forUsername=boyceavenue&part=id

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

CONCLUSION
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 : https://console.developers.google.com/

2. Login into your google account

3. You can create new project or user existing project

4. Select library menu,

Capture

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

asdasdasdasd
Capture

leave Key Restriction None

DONE, you got your API key for Google Youtube