acoustic-actor-75733
04/15/2025, 9:00 PMstrong-mouse-55694
04/15/2025, 10:01 PMhappy-autumn-40938
04/17/2025, 5:40 AMgetFeatureValue, it uses the latest user attributes present in the SDK. If you're evaluating a flag with an experiment, this is also when sticky buckets will be persisted. Subsequent calls to evaluate that same feature will receive the same persistent bucket value.
RE: fallback attributes + sticky buckets: Let's say you've called getFeatureValue() before logging in and the user was bucketed in bucket "2" based on visitor_id (fallback attribute). Then they successfully logged in and got a user_id, and you apply this back into the SDK via setAttributes() . During that same session, if you call getFeatureValue() on the same flag for this user who has both a visitor_id and user_id, then the sticky bucket will be "upgraded" to remember that this user should be bucketed in "2" for their user_id.acoustic-actor-75733
04/17/2025, 5:50 AMhappy-autumn-40938
04/17/2025, 4:03 PM