Using multiplatform feature flags

Multiplatform feature flags allow you to deploy a new feature flag across many platforms. Examples of platforms include iOS, Android, and React Native. See the SDK installation documentation for a full list of platforms that are supported. This allows you to use one CloudBees Feature Flags application to control a feature flag on multiple platforms.

The feature flag name must be the same across the different platforms. See creating feature flags to learn how to define the flag name.

Feature flag dependencies & multiplatform flags

You will not be able to create flag dependencies between multiplatform feature flags.

Adding platforms to a Flag

To add several platforms to one feature flag:

  • Assign the Feature Flag the same name in the code for the desired platforms and the feature flag will automatically be added to the same feature flag in the dashboard.

See creating feature flags to learn how to define the flag name.

Flag name across multiple platforms

To see multiple platforms on a feature Flag, the Flag Name in the code must be the same across the platforms.

Managing platforms under a feature flag

When a feature flag has more than one platform, you will see a Platform Management button on the right side of the Audience tab of a feature flag view. You would also see the feature flag in the Flags Overview page; each platform reported would show separately.

Platform management

Excluding or including a platform

To exclude or include a platform:

  1. Click on the Platform Management button.

  2. In the Platform Management window:

    • Select or de-select one or more platforms.

    • Click the Update button.

Moving between platforms

To move between platforms:

  1. Click on the dropdown arrow right next to Default and underneath the Audience tab.

  2. Select the platform name. You can configure the feature flag.

Move between platforms

Turning targeting off for a flag will turn it off for ALL platforms under this flag.