Sco*_*edy 12 firebase firebase-remote-config
我正在使用Firebase远程配置,我正试图围绕应用程序版本条件.
https://firebase.google.com/docs/remote-config/parameters#rule_types说我必须对它进行字符串匹配.
但我真的需要一种方法来说parameter_x在不同的版本范围内会有不同的值.
有没有办法做到这一点,或者我是不是想出一个荒谬的正则表达式?
的比较运算符app version
是有限的(因为字符串,例如0.0.1-alpha5
):
\n\n\n对于字符串值:
\ncontains
, \ndoes not contain
,exactly matches
,regular expression
而 an(int) versionCode
可以定义并比较为 a user property
:
\n\n\n对于数值:
\n=
,\xe2\x89\xa0
,>
,\xe2\x89\xa5
,<
,\xe2\x89\xa4
将构建风味附加到versionName
可能是最简单的。
归档时间: |
|
查看次数: |
1718 次 |
最近记录: |