Youtube KEY

To play Youtube video from app we need API KEY and you must generate your own API KEY. Here tutorial to get --> http://blog.dream-space.web.id/?p=178

Then you can put it in file res/xml/remote_config_defaults.xml Data from this file use as default value, anytime you want to change you can change it from firebase remote console.

remote_config_defaults.xml
<!--Youtube property -->
<entry>
    <key>youtube_api_key</key>
    <value>AIzaSyBZZNlXXXXXXXXXXXXXXXXXXXXXXXXXXX</value>
</entry>

Set Remote Config

Parameter value must add for remote config must be same with value from file res/xml/remote_config_defaults.xml Here tutorial how to add update remote config http://blog.dream-space.web.id/?p=220

Last updated