feat(必剪): 通知权限请求规则优化 (#1094)

This commit is contained in:
aoguai 2023-10-16 00:47:44 +08:00 committed by GitHub
parent a0b63c2b58
commit 1665e00a16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,10 +7,24 @@ export default defineAppConfig({
{ {
enable: false, enable: false,
key: 0, key: 0,
name: '首页-开启通知权限请求', name: '通知权限请求',
desc: '会出现在创作、模板、我的页面,自动点击不开启。',
quickFind: true,
activityIds: 'com.bcut.homepage.widget.MainActivity', activityIds: 'com.bcut.homepage.widget.MainActivity',
rules: 'TextView[text="开启设置"] - TextView[text="取消"]', rules: [
snapshotUrls: 'https://gkd-kit.songe.li/import/12867401', {
matches: 'TextView[text="开启设置"] - TextView[text="取消"]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12867401', // 创作页面
},
{
matches: 'ImageView[id="com.bilibili.studio:id/iv_close"]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12908880', // 模板页面
},
{
matches: 'ImageView[id="com.bilibili.studio:id/iv_push_tips_close"]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12908886', // 我的页面
},
],
}, },
], ],
}); });