Alternatively, you can add a "Custom Property" to Firebase, such as "app_version". Then, when the application starts, add the following code:
let version = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as! String Analytics.setUserProperty(version, forName: "app_version")
Then you can use this Custom property in Remote Config as a condition, and voila is the base value of the Remote Config parameter for the version number. Please note that this will also require the use of Firebase Analytics.
Adding a Firebase Custom Property
user2804699
source share