OpenFeature
The Kotlin SDK does not ship an OpenFeature provider. There is no openfeature module, class, or dependency in this SDK. Evaluate flags directly with the…
Generated from the SDK's own /docs/ — also served raw at
https://shipeasy-ai.github.io/sdk-kotlin/pages/openfeature.md.
The Kotlin SDK does not ship an OpenFeature provider. There is no
openfeature module, class, or dependency in this SDK. Evaluate flags directly
with the native API:
val flags = Client(currentUser)
flags.getFlag("new_checkout") // → Boolean
flags.getFlagDetail("new_checkout") // → FlagDetail(value, reason)getFlagDetail returns a value plus a stable reason (LaunchDarkly
variationDetail parity) — the same information an OpenFeature *Details
resolution would carry. If you need OpenFeature semantics, map your own
Provider resolutions onto getFlagDetail yourself; see Flags for
the Reason constants.
Testing
Two configure() siblings let your tests evaluate without ever touching the network — both REPLACE any prior configuration (unlike configure()'s…
Advanced
Attribute names usable for targeting but never persisted in analytics (LD/Statsig privateAttributes). Since the server evaluates locally, private attrs…