# Remote Config

This feature start at youtubers VERSION 3.0, this feature make some value dynamic, you can change from firebase console.\
Start from version 3.2 remote config only can change channel and playlist id, value you fill here is default value

{% code title="res/xml/remote\_config\_defaults.xml" %}

```markup
<?xml version="1.0" encoding="utf-8"?>
<defaultsMap>

    <!-- Your Channel ID -->
    <entry>
        <key>channel_id</key>
        <value>YOUR CHANNEL ID</value>
    </entry>

    <!-- Your Playlist ID -->
    <entry>
        <key>playlist_id</key>
        <value>YOUR PLAYLIST ID</value>
    </entry>

    <!-- App Version Config, don't change code below -->
    <entry>
        <key>app_version</key>
        <value>0</value>
    </entry>

    <entry>
        <key>force_update</key>
        <value>false</value>
    </entry>

</defaultsMap>
```

{% endcode %}

### ADD & UPDATE CONFIG

Goto [console.firebase.google.com](https://console.firebase.google.com/) > Select your Yotubers project >\
Go to menu **Remote Config** > and Add 3 parameter

![](https://281880878-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHhecigLnvK0295KoyV%2F-M4SoDgzUxQQHJWHLpz7%2F-M4SxK2iFjiLxZK4yOn5%2Fimage.png?alt=media\&token=7b2b72a4-695f-4be1-80d4-cc5af58ac0f6)

Bold name mean config not published yet, you must click button **Publish Change** to publish all the changes, if you make any change you must press this button

![](https://281880878-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHhecigLnvK0295KoyV%2F-M4SoDgzUxQQHJWHLpz7%2F-M4SyEUCKSrDmuxtw78q%2Fimage.png?alt=media\&token=d3451cb5-40d9-445f-9670-e86a2fd47063)

{% hint style="info" %}
**youtube\_api\_key** : api key from console.cloud.google.com, you can change it anytime if your quotas reached the limit
{% endhint %}

{% hint style="info" %}
**app\_version** : If application version less than this value, popup update will showing at starting, please make sure your app ready on google play before edit edit this value, if you don't want showing popup update set this to 0
{% endhint %}

{% hint style="info" %}
**force\_update** : this value related with popup above, if fore update true popup cannot dismiss by user, and user cannot use the app until they update app from google play
{% endhint %}

### APP VERSION

In case you want all your user update their youtubers app to version 2, you can use this feature to showing update popup of force your user to update. here the step\
\
1\. Make sure your app version 2 live on google play\
2\. Update and publish app\_version from firebase console with value 2\
3\. App with version less than 2 will got dialog like this on starting&#x20;

<div align="left"><img src="https://281880878-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHhecigLnvK0295KoyV%2F-M4SoDgzUxQQHJWHLpz7%2F-M4T1H97UE7vor5b5ehp%2Fimage.png?alt=media&#x26;token=81982225-eba1-432d-ac87-75e293a593f2" alt=""></div>
