title: Firebase Remote Config - "user in random percentile" with key
body: <p>I'm exploring using Firebase's "User in random percentile" condition to target different segments of a customer-base for A/B testing and have a few questions after reviewing the <a href="https://firebase.google.com/docs/remote-config/parameters#rule_types" rel="noreferrer">Firebase Remote Config Parameters and Conditions documentation</a>:</p>
  
  <blockquote>
    <p>Each app instance is persistently mapped to a random whole or fractional number, according to a key defined in that project.</p>
  </blockquote>
  
  <ol>
  <li><p>Assuming that like <code>setUserProperty</code> this value persists for all generated percentiles (i.e. those without keys and with keys) <a href="https://stackoverflow.com/questions/41817325/firebase-analytics-setuserproperty-persists-through-app-lifecycle">until the app in uninstalled</a>. Is this a correct assumption?</p></li>
  <li><p>If a condition maps to a random percentile that is &lt;= 50 and I then change that condition to only target &lt;= 10 (but do not modify the key associated with the random percentile), I expect the 11-50 percentile to now match on the next condition (could be the default) but the original 0 to 10 percentile should still match on the condition. Are the these assumptions correct? </p></li>
  <li><p>Once a random percentile is created for a user, does that value persist across any mutations to conditions so long as the key for that percentile does not change? For example, for key <code>"firebase_test"</code> user A's percentile value is 47%. So long as user A does not uninstall the app that user's percentile value will always be 47% for <code>"firebase_test"</code>.</p></li>
  <li><p>Is the FirebaseRemoteConfig singleton doing any persistence of values? I'm assuming a fetch after the cache expires will ignore any values returned previously by <code>getValue</code> methods and simply return the latest value configured. </p></li>
  <li><p>Is there any way to print out the percentile value a user is assigned for given keys (and no key as well)? For example calling <code>mFirebaseRemoteConfig.getPercentile("firebase_test")</code> would return <code>1.234</code>.</p></li>
  </ol>
  
  <p>Thank you!</p>