You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Added a new API getExperimentInLayerForUser(user: StatsigUser, layerName: String, disableExposure: Boolean = false): DynamicConfig, which returns a DynamicConfig object representing the experiment's config that the user is in within the specified layer.
If the user is NOT allocated to any experiment, then the getName() function on the DynamicConfig object will be an empty String.
by default this function will log an exposure for the experiment the user is in. This can be disabled by setting the 3rd parameter disableExposure to true.
The API is also available as getExperimentInLayerForUserAsync for Java.