feat(中信银行): 开屏广告(优化规则)、请求开通知权限弹窗、更新弹窗(优化规则) (#2217)

* feat 开屏广告(优化规则)

* feat 请求开通知权限弹窗

* feat 更新弹窗(优化规则)
This commit is contained in:
Kun Jinkao 2023-11-18 23:48:38 +08:00 committed by GitHub
parent 8a7b758e7a
commit da8a61920e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,17 +7,18 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
activityIds: ['com.ecitic.bank.mobile.ui.SplashActivity'],
rules: '[id="com.ecitic.bank.mobile:id/skip_adv_layout"]',
snapshotUrls: ['https://i.gkd.li/import/12701203'],
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '@LinearLayout > [text="跳过"]',
snapshotUrls: 'https://i.gkd.li/import/12701203',
},
{
key: 1,
name: '更新弹窗',
activityIds: [
'com.ecitic.bank.mobile.ui.MainActivity',
'com.miui.home.launcher.Launcher',
],
actionMaximum: 1,
resetMatch: 'app',
rules: '@[text="暂不更新"] + [text="立即更新"]',
snapshotUrls: [
'https://i.gkd.li/import/12701217',
@ -32,5 +33,12 @@ export default defineAppConfig({
'[id="com.ecitic.bank.mobile:id/id_cordova_view"] + [id="com.ecitic.bank.mobile:id/close_product_send"]',
snapshotUrls: ['https://i.gkd.li/import/12701230'],
},
{
key: 3,
name: '请求开通知权限弹窗',
activityIds: 'com.ecitic.bank.mobile.ui.MainActivity',
rules: '@[text="取消"] + [text="立即开启"]',
snapshotUrls: 'https://i.gkd.li/import/13399102',
},
],
});