All Products
Search
Document Center

Mobile Platform as a Service:Android/iOS configuration management

Last Updated:Feb 02, 2026

As a developer, you can add the switch configuration items you need in the mPaaS console under Mobile Delivery Service > Configuration management. You can also deliver targeted configurations based on criteria such as platform, whitelist, percentage, version number, device model, and Android or iOS version.

Prerequisites

The SDK for the switch configuration service has been added to the Android or iOS client.

Add switch configurations

You can add switch configurations individually, or import a JSON file to add multiple configurations at once.

The switch configuration list displays the configuration key, status, creation time, update time, creator, and modifier for each configuration item. By default, new switch configurations are active.

Add a single item

Go to the mPaaS console and complete the following steps:

  1. In the navigation pane on the left, click Mobile Delivery Service > Configuration management.

  2. Click Add Configuration. On the Create a configuration page, enter a configuration key, note, and resource value, and then select the platform and type. The resource value is the value assigned to the configuration key. A configuration key can have multiple resource values. To set multiple resource values, click the Add button.

    image.png

  3. Add advanced rules (optional). In the resource value configuration box, click the Add button to the right of Advanced Rules. Select a resource type (such as version, osVersion, device model, or city) and an operation type, and then enter the corresponding resource value. You can add multiple advanced rules for each resource value.

    image.png

  4. When you are finished, click Finished. The new switch configuration appears in the configuration list.

Batch import

On the Configuration Switch Management page, click More operations > Import file above the configuration list. Import a switch configuration file in JSON format. The file can contain multiple switch configurations. After the import is successful, the imported configurations appear in the configuration list.

Important

If a switch configuration in the configuration file already exists, it cannot be imported.

The Mobile Delivery Service platform also provides a configuration export feature. On the Configuration management page, click More Operations > Configuration Export above the configuration list. Select the configuration items that you want to export, and then click the Configuration Export button to download the JSON configuration file to your computer.

Query switch configurations

On the Configuration Switch Management page, you can search for a switch configuration by entering a keyword from its configuration key.

Modify a switch configuration

To modify a switch configuration, follow these steps:

  1. On the Configuration Switch Management page, select the target configuration and click its configuration key to open the edit page.

  2. Modify the Note, Resource value, Platform, Type or Advanced rule, and then click Finished. The configuration key cannot be modified after it is added.

Activate or deactivate a switch

New switch configurations are active by default. If you no longer need a configuration, click Deactivate to make it inactive. Similarly, to reactivate an inactive configuration, click Activate.

What to do next

After a configuration key is published in the console, the client can retrieve the corresponding value by calling an API: