Supported on: iOS SDK
1.0.61+ · Android SDK 1.0.33+ · Flutter SDK 1.0.3+Check a Flag
isEnabled() returns false by default if the flag does not exist or config has not loaded.
Multi-Variant Flags
For flags that carry a string, integer, or JSON payload (rather than a simple on/off), read the value withgetVariant:
getVariant returns dynamic — cast to the type you configured in the Console.
Module Access
Module Methods
Using Flags with Experiments
Gate a feature behind a flag, then run an experiment to test its impact:React to Flag Changes
Register anonChanged callback to re-render UI when the SDK receives an updated config from the server:
The callback fires once per refresh, not per flag. Re-read the flags you care about inside the callback.
Full Example
Feature flags are managed in the Console under Settings > Feature Flags. Toggle a flag and it takes effect on the next SDK config refresh (default 1 hour).

