As a developer, you can add necessary switch configuration items in Mobile Delivery Service > Configuration management in the mPaaS Console and deliver the configuration items by platform, whitelist or percentage, version, device model, Android or iOS version and other information.
Install the switch configuration service SDK on the Android or iOS client.
Log in to the mPaaS console, and complete the following steps:
- From the navigation bar on the left, click Mobile Delivery service > Configuration management.
- Click Add configuration to add a new configuration.
- Add Configuration key, Resource value, and choose Platform and Type. In addition, you can click to add Advanced rule, and set version, osVersion, and device model to deliver the configuration selectively.
After the switch key is released through the console, the client can obtain the key value corresponding to the switch key by calling interfaces: