mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-22 09:45:11 +08:00
feat(小米应用商店): 请求通知权限提示弹窗(优化规则) (#1977)
This commit is contained in:
@@ -57,22 +57,23 @@ export default defineAppConfig({
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
enable: false,
|
|
||||||
key: 11,
|
key: 11,
|
||||||
name: '请求开启推送弹窗',
|
name: '请求通知权限提示弹窗',
|
||||||
desc: '自动点击关闭按钮',
|
desc: '自动点击关闭按钮',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
activityIds: [
|
matchLauncher: true,
|
||||||
'com.xiaomi.market.ui.UpdateListActivity',
|
activityIds: 'com.xiaomi.market.ui.UpdateListActivity',
|
||||||
'com.miui.home.launcher.Launcher',
|
|
||||||
],
|
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
|
key: 0,
|
||||||
|
name: '开启推送',
|
||||||
matches:
|
matches:
|
||||||
'@[id="com.xiaomi.market:id/dialog_cancel"] - LinearLayout > [id="com.xiaomi.market:id/btn_start_push"]',
|
'@[id="com.xiaomi.market:id/dialog_cancel"] - LinearLayout > [id="com.xiaomi.market:id/btn_start_push"]',
|
||||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12714980',
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12714980',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
key: 1,
|
||||||
|
name: '开启通知栏提醒',
|
||||||
matches: 'Button[text="立即开启"] - Button[text="不了,谢谢"]',
|
matches: 'Button[text="立即开启"] - Button[text="不了,谢谢"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/import/13197306',
|
snapshotUrls: 'https://i.gkd.li/import/13197306',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user