title: react-native firebase remote config
body: <pre><code>if (__DEV__) {
          firebase.config().enableDeveloperMode();
      }
  
  
      firebase
          .config()
          .fetch()
          .then(() =&gt; firebase.config().activateFetched())
          .then(() =&gt; {
              // Chain additional firebase config methods if needed
              console.log("activated ");
              firebase
                  .config()
                  .getValue("holiday_promo")
                  .then(data =&gt; {
                      console.log(data, "data");
                  });
          })
          .catch(error =&gt; console.log(`Error processing config: ${error}`));
  </code></pre>
  
  <p>In my firebase remote config I have a parameter as follows : 
  holiday_promo(parameter_key) and value is "promo string" .
  But when I console the data, it is empty. 
  And get something like this : 
    <code>{source: "remote"
  val: ƒ val()
  arguments: null
  caller: null
  length: 0
  name: "val" }</code>
  Can someone tell me what is wrong.. </p>