Different RemoteConfig for different client version

I need to change the structure of a json on RemoteConfig that would break old clients version.
Is there a way to segment RemoteConfig by versionNumber, so its new changes are only available for new client version ?

Hey!

Remote Config keys can be segmented using Game Overrides.

You can configure a Game Override that targets the old build of your game using JEXL attributes - either using unity.appVersion or unity.appBuildVersion.

Here are the steps you can follow to do so:

  • Create a new Game Override in the Unity Dashboard, giving it a name and a description (optional)

  • In Targeting, select JEXL and enter the following JEXL snippet (replacing the relevant version)

  • unity.appBuildVersion == ‘1’

  • unity.appVersion == ‘1.1’

  • In Content, select Config Override and update the key value(s) that you would like to change for this version

  • In Scheduling, leave the Start date and End date as they are

  • Select Finish, then Enable

Now all users that are on the selected version will receive the configured value(s) instead of the defaults. Note that you can either have the old versions configured in Game Overrides and update the default for new versions, or vice versa.

Let me know if you have any other questions!

Mike

1 Like

Awesome Mike, thanks you!