feat(蜻蜓点金): 开屏广告, 通知权限 (#1165)

close #1158
This commit is contained in:
walklty 2023-10-18 00:10:22 +08:00 committed by GitHub
parent e07dc583fb
commit 34a6de3198
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,38 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'zhongxinjiantou.szkingdom.android.newphone',
name: '蜻蜓点金',
groups: [
{
key: 0,
name: '开屏广告',
desc: '点击跳过',
matchLauncher: true,
quickFind: true,
activityIds:
'kds.szkingdom.modeinit.android.init.activity.ZXJTInitActivity',
rules: [
{
matches:
'[id="zhongxinjiantou.szkingdom.android.newphone:id/kds_advertise_btn_timmer"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12924454',
},
],
},
{
key: 1,
name: '通知权限',
desc: '点击放弃通知',
quickFind: true,
activityIds: 'com.szkingdom.android.phone.ZXJTUserMainActivity',
rules: [
{
matches:
'[id="zhongxinjiantou.szkingdom.android.newphone:id/tv_notify_confirm_off"][text="放弃通知"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12924466',
},
],
},
],
});