Fetching configuration based on the user properties using Firebase Remote Config
<p>I am using Firebase Remote Config feature to fetch some parameters required by the application. The parameter values depends on the <code>userProperty</code> which I have defined in the user properties tab in the Analytics section in Firebase.</p>

<p>Now, I want to get the parameter value for which the particular user property is true. I have defined condition using that user property. For example, lets say that the user property <code>screen_size</code> is what I have a defined condition for, such as if <code>screen_size</code> matches <code>AxB</code> then set a parameter named <code>mqtt_chat_enabled</code> to <code>true</code> and the default value is <code>false</code>.</p>

<p>When I fetch the remote config, I am getting the default value of <code>mqtt_chat_enabled</code> even if the <code>screen_size</code> is <code>AxB</code>.</p>

<p>The question is, how do we send the condition parameters when fetching the remoteConfig?</p>

<p>I tried using <code>setUserProperties</code> method before fetching remoteConfig, but it's not working.</p>

<p>I am not getting anything for this on the web. Please help.</p>