mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
feat(海尔智家): 更新弹窗,通知权限弹窗 (#392)
This commit is contained in:
29
src/apps/com.haier.uhome.uplus.ts
Normal file
29
src/apps/com.haier.uhome.uplus.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
import { defineAppConfig } from '../types';
|
||||
|
||||
export default defineAppConfig({
|
||||
id: 'com.haier.uhome.uplus',
|
||||
name: '海尔智家',
|
||||
groups: [
|
||||
{
|
||||
key: 1,
|
||||
name: '更新弹窗',
|
||||
activityIds: [
|
||||
'com.haier.uhome.uplus.upgradeui.ui.UpgradeDialogActivity',
|
||||
'com.huawei.android.launcher.unihome.UniHomeLauncher',
|
||||
],
|
||||
rules: '@[text="取消"] + [text="立即更新"||text="立即安装"]',
|
||||
snapshotUrls: [
|
||||
'https://gkd-kit.songe.li/import/12726844',
|
||||
'https://gkd-kit.songe.li/import/12726801', // activityId: 'com.huawei.android.launcher.unihome.UniHomeLauncher'
|
||||
],
|
||||
},
|
||||
{
|
||||
enable: false,
|
||||
key: 10,
|
||||
name: '请求通知权限弹窗',
|
||||
activityIds: 'com.haier.uhome.uplus.ui.widget.MPermissionCheckDialog',
|
||||
rules: '[text*="通知栏权限"] +n LinearLayout > [text="取消"]',
|
||||
snapshotUrls: 'https://gkd-kit.songe.li/import/12726829',
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user