feat(咪咕视频): 弹窗, 更新, 通知 (#1914)

close #1912
This commit is contained in:
walklty 2023-11-07 23:33:49 +08:00 committed by GitHub
parent 73c903267a
commit 7609d5f8c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,22 +7,59 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
activityIds: 'com.cmcc.cmvideo.main.application.CompatibleMainActivity',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: '[id=`com.cmcc.cmvideo:id/skip_button`]',
},
{
key: 1,
name: '青少年模式弹窗',
activityIds: 'com.cmcc.cmvideo.main.application.CompatibleMainActivity',
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: '[id="com.cmcc.cmvideo:id/btn_cancle"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12498307',
},
{
key: 2,
name: '右下角小广告',
quickFind: true,
matchLauncher: true,
activityIds: 'com.cmcc.cmvideo.main.application.CompatibleMainActivity',
rules: '[id="com.cmcc.cmvideo:id/iv_right_bottom_close"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12498315',
},
{
key: 3,
name: '版本更新提示',
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: '[id="com.cmcc.cmvideo:id/btn_update_close"]',
snapshotUrls: 'https://i.gkd.li/import/13276116',
},
{
key: 4,
name: '推送通知权限弹窗',
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: '[id="com.cmcc.cmvideo:id/base_dialog_left_btn"][text="以后再说"]',
snapshotUrls: 'https://i.gkd.li/import/13276127',
},
{
key: 5,
name: '弹窗广告',
activityIds: 'com.cmcc.cmvideo.main.application.CompatibleMainActivity',
matchLauncher: true,
rules:
'@[id="com.cmcc.cmvideo:id/iv_big_close"] + [id="com.cmcc.cmvideo:id/sdv_big_pic"]',
snapshotUrls: [
'https://i.gkd.li/import/13276111',
'https://i.gkd.li/import/13276122',
],
},
],
});