feat(学习强国): 更新弹窗, 通知权限提示 (#364)

This commit is contained in:
Kun Jinkao 2023-09-25 21:57:21 +08:00 committed by GitHub
parent 4437551d06
commit 3e9b45bad4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,25 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'cn.xuexi.android',
name: '学习强国',
groups: [
{
key: 1,
name: '更新弹窗',
activityIds: 'com.alibaba.android.rimet.biz.SplashActivity',
rules: '@[text="取消"] + [text="立即升级"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12715139',
},
{
enable: false,
key: 10,
name: '请求开启通知权限提示信息',
desc: '自动点击x按钮',
activityIds: 'com.alibaba.android.rimet.biz.SplashActivity',
rules:
'[text^="开启消息通知"] +2 [id="cn.xuexi.android:id/layout_close"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12715160',
},
],
});