title: Firebase - RemoteConfig with userProperty returns default value
body: <p>First I apologize for my English :-) I am working on a big project and I encountered a problem with using Firebase in my Android app. I have RemoteConfig with conditions using Analytics user property. When I set user property in app, fetch data and after it's successfully completed, I activate fetched data, I still get default value for parameters from RemoteConfig, even when RemoteConfig condition is true. Code is written in Kotlin.</p>
  
  <p>This is an example of my code (this code is in onCreate() method in class, which extends Appliaction class:</p>
  
  <pre><code>FirebaseAnalytics.getInstance(this).setUserProperty("testprop", "a");
  FirebaseRemoteConfig.getInstance().fetch(0).addOnCompleteListener {
      if (it.isSuccessful) {
          FirebaseRemoteConfig.getInstance().activateFetched();
              val a = FirebaseRemoteConfig.getInstance().getString("test_param");
              Log.i("TOAPP", "Test param is $a");
          } else {
              Log.i("TOAPP", "Error: ${it.exception?.localizedMessage}");
              it.exception?.printStackTrace();
          }
      }
  }
  </code></pre>
  
  <p>RemoteConfig in Firebase:<br/>
  Parameter = test_param<br/>
  - MyUser = develop<br/>
  - Default value: = production<br/></p>
  
  <p>Condition:<br/>
  MyUser - applies if User property testprop exactly matches a</p>
  
  <p>When I run this, I get this in console:<br/>
  I/TOAPP: Test param is production</p>
  
  <p>I have these libs in gradle.build file:</p>
  
  <pre><code>// Play services
  implementation "com.google.android.gms:play-services-location:11.4.2"
  implementation "com.google.android.gms:play-services-maps:11.4.2"
  implementation "com.google.android.gms:play-services-base:11.4.2"
  implementation "com.google.android.gms:play-services-identity:11.4.2"
  implementation "com.google.android.gms:play-services-places:11.4.2"
  
  // Firebase
  implementation "com.google.firebase:firebase-core:11.4.2"
  implementation "com.google.firebase:firebase-config:11.4.2"
  implementation "com.google.firebase:firebase-messaging:11.4.2"
  </code></pre>
  
  <p>Thanks for the answers.</p>