Firebase远程配置应用程序版本条件比较

Sco*_*edy 12 firebase firebase-remote-config

我正在使用Firebase远程配置,我正试图围绕应用程序版本条件.

https://firebase.google.com/docs/remote-config/parameters#rule_types说我必须对它进行字符串匹配.

但我真的需要一种方法来说parameter_x在不同的版本范围内会有不同的值.

有没有办法做到这一点,或者我是不是想出一个荒谬的正则表达式?

Mar*_*ler 4

的比较运算符app version是有限的(因为字符串,例如0.0.1-alpha5):

\n\n
\n

对于字符串值:contains, \n does not contain, exactly matches,regular expression

\n
\n\n

而 an(int) versionCode可以定义并比较为 a user property

\n\n
\n

对于数值:=, \xe2\x89\xa0, >, \xe2\x89\xa5, <,\xe2\x89\xa4

\n
\n\n

将构建风味附加到versionName可能是最简单的。

\n