From 7adb361f2716ada0803fe8250d5e81f4b005d5a8 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sat, 21 Oct 2023 23:24:56 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=B9=90=E6=A0=A1=E9=80=9A):=20=E5=BC=80?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A=E3=80=81=E5=BA=94=E7=94=A8=E5=86=85?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=E5=BC=B9=E7=AA=97=E3=80=81=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E5=86=85=E5=B9=BF=E5=91=8A=E5=8D=A1=E7=89=87=20(#1268)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: 开屏广告 * feat: 应用内广告弹窗 * feat: 应用内广告卡片 --- src/apps/client.android.yixiaotong.ts | 50 +++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 src/apps/client.android.yixiaotong.ts diff --git a/src/apps/client.android.yixiaotong.ts b/src/apps/client.android.yixiaotong.ts new file mode 100644 index 00000000..2892c435 --- /dev/null +++ b/src/apps/client.android.yixiaotong.ts @@ -0,0 +1,50 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'client.android.yixiaotong', + name: '乐校通', + groups: [ + { + key: 0, + name: '开屏广告', + activityIds: 'client.android.yixiaotong.ui.WelcomeActivity', + matchLauncher: true, + rules: + '[id="client.android.yixiaotong:id/rel_advlogo"] - * >n [text^="跳过"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/13055542', + }, + { + key: 1, + name: '应用内广告弹窗', + activityIds: + 'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity', + rules: [ + // 腾讯广告 + { + key: 0, + matches: + 'ImageView - FrameLayout > ImageView +2 FrameLayout > ImageView', + snapshotUrls: 'https://gkd-kit.songe.li/import/13055837', + }, + + // 快手广告 + { + key: 2, + activityIds: + 'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity', + matches: + '[id="client.android.yixiaotong:id/ksad_tk_view"] >n ViewGroup + ViewGroup > @ViewGroup > ImageView', + snapshotUrls: 'https://gkd-kit.songe.li/import/13060116', + }, + ], + }, + { + key: 2, + name: '应用内广告卡片', + activityIds: + 'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity', + rules: 'ImageView - FrameLayout - FrameLayout > ImageView', + snapshotUrls: 'https://gkd-kit.songe.li/import/13055542', + }, + ], +});