Skip to main content
Supported on: iOS SDK 1.0.61+
The feature flags module lets you enable or disable features remotely from the AppDNA Console. Flags are evaluated locally from cached config — no network call, no latency.

Check a Flag

isEnabled() returns false by default if the flag does not exist or config has not loaded.

Module Access

Module Methods

Using Flags with Experiments

Feature flags and experiments work together. A common pattern is to gate a feature behind a flag, then run an experiment to test its impact:

Listen for Flag Changes

Register a closure that is called on the main thread once after every successful config fetch — at configure, when the config TTL expires, and on AppDNA.remoteConfig.refresh() — whether or not a flag changed. Re-read the flags you care about:

Full Example

Feature flags are managed in the Console under Settings > Feature Flags. Toggle a flag on or off and it takes effect on the next SDK config refresh (within the TTL window, default 1 hour).