⚙️Remote Configuration

Optimize your Unity game's configuration with Evil Mind Dev's HMS Unity Plugin's Remote Configuration feature.

To build an excellent app and achieve business success, you need to continuously provide users with fresh content and functions, quickly respond to users' changing requirements and experience preferences and offer a differentiated user experience for audiences. Remote Configuration of AppGallery Connect allows you to change the behavior and appearance of your app online without requiring users to update the app. With the service, you can provide a tailored experience for your users promptly.

How the Service Works

Remote Configuration provides cloud-based services. By integrating the client SDK, your app can periodically fetch parameter values from the cloud. The service checks whether the parameter that your app tries fetching has an on-cloud value update and returns the new value if so. Based on the parameter values fetched, you can implement service processing logic to change the behavior or appearance of your app.

Principles for setting on-cloud parameters on the AppGallery Connect console are as follows:

  1. If a parameter has only the default value which can be empty but no conditional value, your app fetches the default value from the cloud.

  2. For a given app instance, if a parameter has one conditional value, the value will be used when the condition is met; if multiple conditions are set, the value of the first condition met is preferentially used. You can change the condition priorities on the console.

  3. If the parameter for which your app requests a value from the cloud is set to Use default value passed to SDK or not found, no value will be returned to your app.

In your app, parameter values are returned by the get method based on the following priorities:

  1. If a value has been fetched from the cloud and taken effect, your app uses the value. The parameter value is permanently valid once it takes effect.

  2. If no value is fetched from the cloud or the value fetched from the cloud does not take effect, your app uses the default value in the app.

  3. If no default value is set in the app, the app uses the default value of a specified data type (for example, false is used for the boolean type by default).

Last updated