Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
feat(中信银行): 开屏广告(优化规则)、请求开通知权限弹窗、更新弹窗(优化规则) (#2217)
Browse files Browse the repository at this point in the history
* feat 开屏广告(优化规则)

* feat 请求开通知权限弹窗

* feat 更新弹窗(优化规则)
  • Loading branch information
Snoopy1866 authored Nov 18, 2023
1 parent 8a7b758 commit da8a619
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions src/apps/com.ecitic.bank.mobile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
},
],
});

0 comments on commit da8a619

Please sign in to comment.