How do I maintain variables across different versions of my app?

The default values baked into your app appear in the "Defaults in code" column of the Variables page. They are set to the variables of the latest version of your app. However, the SDK uses whatever is provided in the code, not the "Defaults in code" values from our server.

For overridden variables, the SDK will ignore any variables it doesn't recognize, so if new variables are added in future versions of your app, the previous version will still work as expected. If the meaning of a variable changes between versions, and you want to set distinct values for each, you can segment that variable by app version.

Was this article helpful?
Have more questions? Submit a request