feat(微信): 朋友圈广告, APP授权弹窗 (#194)

* feat(微信)

* feat(微信)

* feat(微信)
This commit is contained in:
Kun Jinkao
2023-09-20 00:52:50 +08:00
committed by GitHub
parent 250ce7f931
commit 9a0bb37764

View File

@@ -26,6 +26,10 @@ export default defineAppConfig({
'[text^="你觉得这条广告怎么样"] + FrameLayout >2 @LinearLayout[clickable=true] > [text="关闭该广告"]', '[text^="你觉得这条广告怎么样"] + FrameLayout >2 @LinearLayout[clickable=true] > [text="关闭该广告"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12642584'], snapshotUrls: ['https://gkd-kit.gitee.io/import/12642584'],
}, },
{
matches: '[text="关闭该广告的原因"] +(2) [text="直接关闭"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12663984'],
},
], ],
}, },
{ {
@@ -41,13 +45,16 @@ export default defineAppConfig({
rules: 'Button[text="拒绝"] - Button[text="允许"]', rules: 'Button[text="拒绝"] - Button[text="允许"]',
}, },
{ {
enable: false,
key: 3, key: 3,
name: '微信手机第三方APP申请使用', name: '第三方APP申请使用授权弹窗',
desc: '自动点击同意', desc: '自动点击允许',
activityIds: ['com.tencent.mm.plugin.base.stub.UIEntryStub'],
rules: [ rules: [
'TextView + TextView[text="申请使用"]', 'TextView + TextView[text="申请使用"]',
'Button[text="拒绝"] - Button[text="允许"]', 'Button[text="拒绝"] - Button[text="允许"]',
], ],
snapshotUrls: 'https://gkd-kit.gitee.io/import/12663602',
}, },
{ {
key: 4, key: 4,