fix(中国移动): 权限弹窗 (#3482)

close #3479
This commit is contained in:
walklty
2024-01-02 19:53:48 +08:00
committed by GitHub
parent f72240422f
commit d466fe3d37

View File

@@ -36,7 +36,6 @@ export default defineAppConfig({
name: '请求推送通知弹窗', name: '请求推送通知弹窗',
desc: '请求推送通知弹窗,点击取消', desc: '请求推送通知弹窗,点击取消',
activityIds: 'com.mc10086.cmcc.base.StartPageActivity', activityIds: 'com.mc10086.cmcc.base.StartPageActivity',
rules: [ rules: [
{ {
matches: '[text*="开启推送通知"] +(2) LinearLayout > [text="取消"]', matches: '[text*="开启推送通知"] +(2) LinearLayout > [text="取消"]',
@@ -45,6 +44,11 @@ export default defineAppConfig({
'https://i.gkd.li/import/13327880', 'https://i.gkd.li/import/13327880',
], ],
}, },
{
quickFind: true,
matches: '[text="授权提醒"] +3 [text="拒绝"]',
snapshotUrls: ['https://i.gkd.li/import/13775652'],
},
], ],
}, },
{ {
@@ -55,8 +59,11 @@ export default defineAppConfig({
rules: [ rules: [
{ {
matches: matches:
'[text*="获取您的剪切板信息"] < LinearLayout +(2) LinearLayout >(2) [text="不允许"]', '[text*="获取您的"] < LinearLayout +(2) LinearLayout >(2) [text="不允许"]',
snapshotUrls: ['https://i.gkd.li/import/12662251'], snapshotUrls: [
'https://i.gkd.li/import/12662251',
'https://i.gkd.li/import/13775651',
],
}, },
], ],
}, },