RawGlobalApp
全局规则应用配置
Extends
Properties
id
id:
string
目标应用的包名
enable?
optionalenable:boolean
在此应用启用/禁用此规则
Default
trueactivityIds?
optionalactivityIds:IArray<string>
如果 界面Id startWith activityIds 的任意一项, 则匹配
如果要匹配所有界面: undefined (不填写) 或者 [] (避免使用上级属性)
如果 activityId 以 . 开头, 则等价于 appId + activityId
示例: com.tencent.mm (微信) 的某界面 .MainActivity 等价于 com.tencent.mm.MainActivity
Inherited from
excludeActivityIds?
optionalexcludeActivityIds:IArray<string>
如果 设备界面Id startWith excludeActivityIds 的任意一项, 则排除匹配
优先级高于 activityIds
当 activityId 以 . 开头时, 与 activityIds 识别规则一致
Inherited from
RawAppRuleProps.excludeActivityIds
versionNames?
optionalversionNames:IArray<string>
如果应用版本名称包含在此列表中, 则匹配
Deprecated
Inherited from
excludeVersionNames?
optionalexcludeVersionNames:IArray<string>
如果应用版本名称包含在此列表中, 则排除匹配, 优先级高于 versionNames
Deprecated
Inherited from
RawAppRuleProps.excludeVersionNames
versionCodes?
如果应用版本代码包含在此列表中, 则匹配
Deprecated
Inherited from
excludeVersionCodes?
如果应用版本代码包含在此列表中, 则排除匹配, 优先级高于 versionCodes
Deprecated
Inherited from
RawAppRuleProps.excludeVersionCodes
versionCode?
optionalversionCode:IntegerMatcher
应用版本代码(整数)匹配规则
Inherited from
versionName?
optionalversionName:StringMatcher
应用版本名称(字符串)匹配规则