OpenFeature
The Swift SDK does not ship an OpenFeature provider. There is no OpenFeature module, provider type, or adapter in the package — the source tree contains no…
Generated from the SDK's own /docs/ — also served raw at
https://shipeasy-ai.github.io/sdk-swift/pages/openfeature.md.
The Swift SDK does not ship an OpenFeature provider. There is no
OpenFeature module, provider type, or adapter in the package — the source tree
contains no OpenFeature integration.
Use the native API instead:
let client = try Client(["user_id": "u_123"])
let enabled = await client.getFlag("new_checkout")
let detail = await client.getFlagDetail("new_checkout") // .value + .reasonIf you need an evaluation reason (the OpenFeature reason field equivalent),
getFlagDetail returns both the value and the resolution reason — see
flags. If a Swift OpenFeature provider is something you need, file a
request on shipeasy-ai/sdk-swift.
Testing
For unit tests, configure Shipeasy in test mode with configureForTesting(...) — a drop-in sibling of configure(...) that does zero network, needs no API…
Advanced
Attribute names listed in privateAttributes are usable for targeting but are stripped from every outbound track() payload — the server evaluates locally, so…