Skip to main content
App variables let you control your application’s behavior remotely. By setting boolean or string values in the dashboard, you can toggle features on or off for all users without deploying a new build.

How it works

  1. Set variables in the dashboard or via the API.
  2. The SDK receives them during authentication.
  3. Your app reads the variables and enables or disables features accordingly.

Setup

1. Define your flags

In the dashboard, go to your app’s Settings → Variables and set your flags:
Or via the API:

2. Read flags in your app

3. Toggle remotely

When you’re ready to enable a feature, update the variable in the dashboard or via the API:
Users pick up the change the next time they authenticate (restart the app or the SDK re-validates in LOCAL mode).

Practical patterns

Kill switch / maintenance mode

Disable your app remotely without revoking licenses:

Minimum version enforcement

Block outdated clients:

Gradual rollout

Use a percentage-based approach with the license key as a seed:

A/B testing

Assign users to groups based on their license key hash and configure behavior per group:

Limitations

  • Variables are delivered at authentication time, not real-time. Changes take effect on next login.
  • Max 50 keys, 4 KB total. For complex configuration, use a URL variable pointing to your own config endpoint.
  • Values are flat (string/number/boolean). No nested objects or arrays.

Next steps