DocsOMobileFeature Flags
Reference

Feature Flags

OMobileorravo.com/docs/omobile/feature-flags

Feature flags are key/value pairs returned in the /config response under flags.

Value Types

TypeDescription
booleantrue / false
stringArbitrary text value
numberInteger or float
jsonParsed JSON object/array

Rollout Percentage

Set rollout_pct to a value from 1–100. Each device is assigned a random number (1–100) on first config fetch. If the device's number ≤ rollout_pct, the flag is included in their response as in_rollout: true.

This means a flag at 10% rollout reaches approximately 10% of devices, gradually.

Config Cache Invalidation

Whenever a flag is toggled or updated, OMobile_REST_Config::invalidate_cache() is called, which deletes all omobile_config_* transients. The next request regenerates the cache.


Feature Flags — OMobile Docs — Orravo