Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Different values depending on OS Version in Firebase remote config

I want to give iOS 14.5 users random values in the firebase remote config. There was no option for me to choose from in remote config > conditions.

Enter image description here

So I tried to choose the option in Audiences, but the platform has two options: OS Version and Operating System with Version.

Enter image description here

I tried 2 options each, but remote config only gives default.

Does anyone know how to set it according to the OS version in the remote config?

like image 445
Bart Avatar asked Feb 14 '26 23:02

Bart


1 Answers

I looked for the same functionality for android and ended up setting a custom user property for the OS version (Build.VERSION.SDK_INT in android). I would suggest to set it to a number rather than string so you will be able to target users starting at specific version (for example users with iOS 14+)

Once you do that you can use this you will be able to add this condition to targeting and distribution section of the A/B test or Conditional parameter in remote configuration the same way I do it in the the attached image for experiments_toke_low custom property

enter image description here

like image 66
Alex Art. Avatar answered Feb 16 '26 12:02

Alex Art.